[Pkg-utopia-commits] r3088 - in /packages/unstable/hal/debian: changelog hal.postinst
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Fri Apr 17 19:02:31 UTC 2009
Author: biebl
Date: Fri Apr 17 19:02:30 2009
New Revision: 3088
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3088
Log:
* debian/hal.postinst
- Ignore errors of polkit-auth so we don't fail if dbus or ConsoleKit is
not running. (Closes: #523604)
Modified:
packages/unstable/hal/debian/changelog
packages/unstable/hal/debian/hal.postinst
Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=3088&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Fri Apr 17 19:02:30 2009
@@ -1,3 +1,11 @@
+hal (0.5.12~git20090406.46dc48-2) UNRELEASED; urgency=low
+
+ * debian/hal.postinst
+ - Ignore errors of polkit-auth so we don't fail if dbus or ConsoleKit is
+ not running. (Closes: #523604)
+
+ -- Michael Biebl <biebl at debian.org> Fri, 17 Apr 2009 21:00:02 +0200
+
hal (0.5.12~git20090406.46dc48-1) unstable; urgency=low
* Git snapshot of the upcoming 0.5.12 release.
Modified: packages/unstable/hal/debian/hal.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postinst?rev=3088&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postinst (original)
+++ packages/unstable/hal/debian/hal.postinst Fri Apr 17 19:02:30 2009
@@ -48,9 +48,7 @@
fi
# Allow hal to query the PolicyKit database to enforce privileges
- if ! polkit-auth --user haldaemon --explicit | grep -q 'org.freedesktop.policykit.read'; then
- polkit-auth --user haldaemon --grant 'org.freedesktop.policykit.read'
- fi
+ polkit-auth --user haldaemon --grant 'org.freedesktop.policykit.read' > /dev/null 2>&1 || true
;;
abort-upgrade|abort-remove|abort-deconfigure)
More information about the Pkg-utopia-commits
mailing list