dev
santic-zombie 5 months ago
parent 4f18e8f762
commit 83f25d4af1
  1. 6
      opennebula-common/APKBUILD
  2. 2
      opennebula-common/opennebula-common.post-install

@ -21,9 +21,9 @@ source="
ssh-config"
package() {
install -dm750 "${pkgdir}/var/lock/one"
install -dm750 "${pkgdir}/var/log/one"
install -dm750 "${pkgdir}/var/run/one"
# install -dm750 "${pkgdir}/var/lock/one"
# install -dm750 "${pkgdir}/var/log/one"
# install -dm750 "${pkgdir}/var/run/one"
install -Dm755 "${srcdir}/ssh-config" "${pkgdir}/usr/share/one/ssh/config"
}

@ -48,6 +48,8 @@ fi
for F in /var/lock/one /var/log/one /var/run/one
do
if [ ! -d "${F}" ]; then
mkdir -p "${F}"
chmod 0750 "${F}"
chown "${ONE_USER}:${ONE_GROUP}" "${F}"
echo "CHOWNED ${F}"
fi

Loading…
Cancel
Save