[Pkg-utopia-commits] r621 - packages/experimental/hal/debian

Sjoerd Simons sjoerd at costa.debian.org
Mon Feb 20 22:19:22 UTC 2006


Author: sjoerd
Date: 2006-02-20 22:19:19 +0000 (Mon, 20 Feb 2006)
New Revision: 621

Modified:
   packages/experimental/hal/debian/changelog
   packages/experimental/hal/debian/hal.postinst
Log:
Add powerdev group in postinst

Modified: packages/experimental/hal/debian/changelog
===================================================================
--- packages/experimental/hal/debian/changelog	2006-02-20 21:48:55 UTC (rev 620)
+++ packages/experimental/hal/debian/changelog	2006-02-20 22:19:19 UTC (rev 621)
@@ -18,12 +18,13 @@
     + Add small utility script to run hald from the debian dir.
   * debian/patches/storage-policy-debian.patch
     + Removed. Obsolete
-  * debian/patches/03_hald_runnerpath.patch 
+  * debian/patches/03_hald_runnerpath.patch
     + Added. Give programs run by the runner a save PATH
   * debian/patches/04_hald_scripts.patch
     + Added. Fix various bugs in the hal scripts
+  * Add the powerdev group in postinst 
 
- -- Sjoerd Simons <sjoerd at debian.org>  Sun, 19 Feb 2006 23:37:37 +0100
+ -- Sjoerd Simons <sjoerd at debian.org>  Mon, 20 Feb 2006 23:18:29 +0100
 
 hal (0.5.6-4) unstable; urgency=high
 

Modified: packages/experimental/hal/debian/hal.postinst
===================================================================
--- packages/experimental/hal/debian/hal.postinst	2006-02-20 21:48:55 UTC (rev 620)
+++ packages/experimental/hal/debian/hal.postinst	2006-02-20 22:19:19 UTC (rev 621)
@@ -29,6 +29,10 @@
       adduser --disabled-password --quiet --system --home /var/run/hal \
         --gecos "Hardware abstraction layer" --group hal
     fi
+    if ! getent group powerdev > /dev/null; then
+       addgroup --quiet --system powerdev || true
+    fi
+
     # be sure the run dir is owned by the hal user
     chown hal:hal /var/run/hal 2>/dev/null || true
 




More information about the Pkg-utopia-commits mailing list