blob: dc204b56b26588cd922cbc92c82c47148fb2b27f (
plain) (
tree)
|
|
#!/bin/sh
case $2 in
POST-INSTALL)
mkdir -p /var/lib/polkit-1/localauthority
mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority
for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d; do
mkdir -p /var/lib/polkit-1/localauthority/${i}
mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority/${i}
done
chmod 0700 /var/lib/polkit-1
chmod 0700 ${PKG_PREFIX}/etc/polkit-1
exit 0
;;
esac
|