[Pkg-utopia-commits] r3054 - /packages/unstable/hal/debian/hal.postinst

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Apr 8 08:18:47 UTC 2009


Author: biebl
Date: Wed Apr  8 08:18:46 2009
New Revision: 3054

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3054
Log:
Strip path away as lintian is not happy about it.

Modified:
    packages/unstable/hal/debian/hal.postinst

Modified: packages/unstable/hal/debian/hal.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postinst?rev=3054&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postinst (original)
+++ packages/unstable/hal/debian/hal.postinst Wed Apr  8 08:18:46 2009
@@ -39,7 +39,7 @@
     fi
 
     # Update haldaemon home directory
-    if dpkg --compare-versions "$2" lt-nl "0.5.12~git20090406.46dc48-1" ; then
+    if dpkg --compare-versions "$2" lt-nl "0.5.12~git20090406.46dc48-1"; then
       usermod --home /var/run/hald haldaemon || true
     fi
 
@@ -48,8 +48,8 @@
     fi
 
     # Allow hal to query the PolicyKit database to enforce privileges
-    if ! /usr/bin/polkit-auth --user haldaemon --explicit | grep -q 'org.freedesktop.policykit.read'; then
-     /usr/bin/polkit-auth --user haldaemon --grant 'org.freedesktop.policykit.read'
+    if ! polkit-auth --user haldaemon --explicit | grep -q 'org.freedesktop.policykit.read'; then
+      polkit-auth --user haldaemon --grant 'org.freedesktop.policykit.read'
     fi
 
   ;;




More information about the Pkg-utopia-commits mailing list