aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2010-01-20 01:56:23 +0800
committermarcus <marcus@FreeBSD.org>2010-01-20 01:56:23 +0800
commitd7c0c3f53b4041496038c50a07a5596ea206f606 (patch)
treea709a03958dba4627ddad73582c6f4c2f6902ee1 /sysutils
parent341c375ec65e8bee313de147242c76442c57b33b (diff)
downloadfreebsd-ports-gnome-d7c0c3f53b4041496038c50a07a5596ea206f606.tar.gz
freebsd-ports-gnome-d7c0c3f53b4041496038c50a07a5596ea206f606.tar.zst
freebsd-ports-gnome-d7c0c3f53b4041496038c50a07a5596ea206f606.zip
Create the proper directory on package addition.
Reported by: itetcu
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/polkit/Makefile1
-rw-r--r--sysutils/polkit/pkg-install2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 95514bd84b1a..8d21d5dd87fc 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -8,6 +8,7 @@
PORTNAME= polkit
PORTVERSION= 0.96
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= http://hal.freedesktop.org/releases/
diff --git a/sysutils/polkit/pkg-install b/sysutils/polkit/pkg-install
index 0876ce9ffecb..dc204b56b265 100644
--- a/sysutils/polkit/pkg-install
+++ b/sysutils/polkit/pkg-install
@@ -3,7 +3,7 @@
case $2 in
POST-INSTALL)
mkdir -p /var/lib/polkit-1/localauthority
- mkdir -p ${PKG_PREFIX}/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}