diff options
Diffstat (limited to 'sysutils/polkit/pkg-install')
-rw-r--r-- | sysutils/polkit/pkg-install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/polkit/pkg-install b/sysutils/polkit/pkg-install new file mode 100644 index 000000000000..93efeea2297b --- /dev/null +++ b/sysutils/polkit/pkg-install @@ -0,0 +1,12 @@ +#!/bin/sh + +case $2 in +POST-INSTALL) + mkdir -p /var/lib/polkit-1 + 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/${i} + done + chmod 0700 /var/lib/polkit-1 + exit 0 + ;; +esac |