summaryrefslogtreecommitdiff
path: root/packages/policykit/policykit_0.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/policykit/policykit_0.9.bb')
-rw-r--r--packages/policykit/policykit_0.9.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/policykit/policykit_0.9.bb b/packages/policykit/policykit_0.9.bb
index d8648ea63f..c7ba718105 100644
--- a/packages/policykit/policykit_0.9.bb
+++ b/packages/policykit/policykit_0.9.bb
@@ -1,7 +1,7 @@
HOMEPAGE = "http://www.packagekit.org/"
DEPENDS = "libpam expat dbus-glib"
-PR = "r2"
+PR = "r3"
SRC_URI = "http://hal.freedesktop.org/releases/PolicyKit-${PV}.tar.gz"
@@ -24,7 +24,8 @@ pkg_postinst_${PN} () {
if [ "x$D" != "x" ]; then
exit 1
fi
- grep "^polkituser:" /etc/group > /dev/null || addgroup polkituser grep "^polkituser:" /etc/passwd > /dev/null || adduser --disabled-password --system --home /var/run/polkit polkituser --ingroup polkituser -g polkituser
+ grep "^polkituser:" /etc/group > /dev/null || addgroup polkituser
+ grep "^polkituser:" /etc/passwd > /dev/null || adduser --disabled-password --system --home /var/run/polkit polkituser --ingroup polkituser -g polkituser
DBUSPID=`pidof dbus-daemon`
if [ "x$DBUSPID" != "x" ]; then
/etc/init.d/dbus-1 force-reload