Fixed post-install and APKBUILD

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

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

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

Loading…
Cancel
Save