blob: dc204b56b26588cd922cbc92c82c47148fb2b27f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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
|