[Pkg-utopia-commits] r1063 - packages/unstable/avahi/debian

Sebastian Dröge slomo-guest at costa.debian.org
Tue Oct 17 18:06:25 UTC 2006


Author: slomo-guest
Date: 2006-10-17 18:06:24 +0000 (Tue, 17 Oct 2006)
New Revision: 1063

Modified:
   packages/unstable/avahi/debian/avahi-daemon.postinst
   packages/unstable/avahi/debian/changelog
Log:
* add netdev group in avahi-daemon's postinst


Modified: packages/unstable/avahi/debian/avahi-daemon.postinst
===================================================================
--- packages/unstable/avahi/debian/avahi-daemon.postinst	2006-10-17 17:17:44 UTC (rev 1062)
+++ packages/unstable/avahi/debian/avahi-daemon.postinst	2006-10-17 18:06:24 UTC (rev 1063)
@@ -26,6 +26,11 @@
         usermod -d /var/run/avahi-daemon avahi
     fi
 
+    # Add the netdev group unless it's already there
+    if ! getent group netdev >/dev/null; then
+      addgroup --quiet --system netdev || true
+    fi
+
     # Ask the bus to reload the config file
     if [ -x "/etc/init.d/dbus" ]; then
       invoke-rc.d dbus force-reload || true

Modified: packages/unstable/avahi/debian/changelog
===================================================================
--- packages/unstable/avahi/debian/changelog	2006-10-17 17:17:44 UTC (rev 1062)
+++ packages/unstable/avahi/debian/changelog	2006-10-17 18:06:24 UTC (rev 1063)
@@ -14,6 +14,8 @@
       for the patch.
   * debian/patches/10_initscripts-scriptname.patch:
     + Set SCRIPTNAME variable in init scripts (Closes: #386957)
+  * debian/avahi-daemon.postinst:
+    + Add the netdev group unless it's already there (Closes: #385495, #389243)
 
  -- Sebastian Dröge <slomo at ubuntu.com>  Tue, 17 Oct 2006 18:45:52 +0200
 




More information about the Pkg-utopia-commits mailing list