82a86af19b
Reported by: itetcu
15 lines
407 B
Bash
15 lines
407 B
Bash
#!/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
|