Fixed post-install and APKBUILD

dev
santic-zombie 5 months ago
parent 8988b764d3
commit 7d15950dc4
  1. 2
      opennebula-common/APKBUILD
  2. 6
      opennebula-common/opennebula-common.post-install

@ -5,7 +5,7 @@ pkgver=6.8.0
pkgrel=1
pkgdesc="Common OpenNebula package shared by various components (Community Edition)"
url="https://opennebula.io/"
arch="x86_64"
arch="noarch"
options="!check"
license="Apache"

@ -44,12 +44,12 @@ if [ ! -e "${ONEHOME}/.ssh/config" ] && [ -z "$2" ]; then
chown "$ONE_USER:$ONE_GROUP" "${ONEHOME}/.ssh/config"
fi
# Fix permissions oneadmin:cloud (0640/0750)
# Fix permissions oneadmin:cloud
for F in /var/lock/one \
/var/log/one \
/var/run/one;
/var/run/one ;
do
chown "${ONE_USER}:${ONE_GROUP}" "${F}"
chown ${ONE_USER}:${ONE_GROUP} ${F}
done
exit 0

Loading…
Cancel
Save