Create the correct /var/lib/polkit-1 directories when installing from a

package.  This should fix operation when installing from packages.
This commit is contained in:
Joe Marcus Clarke 2009-12-24 22:21:52 +00:00
parent 1df297b6f9
commit 3e34572b11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246562
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= polkit
PORTVERSION= 0.95
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils gnome
MASTER_SITES= http://hal.freedesktop.org/releases/

View file

@ -2,9 +2,9 @@
case $2 in
POST-INSTALL)
mkdir -p /var/lib/polkit-1
mkdir -p /var/lib/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/${i}
mkdir -p /var/lib/polkit-1/localauthority/${i}
done
chmod 0700 /var/lib/polkit-1
exit 0