mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
82a86af19b
Reported by: itetcu
16 lines
407 B
Bash
16 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
|