[Pkg-cups-devel] r610 - in cupsys/trunk: . debian

Martin Pitt mpitt at alioth.debian.org
Mon Oct 15 10:30:50 UTC 2007


Author: mpitt
Date: Mon Oct 15 10:30:50 2007
New Revision: 610

Log:
* debian/cupsys.postinst: Drop ancient code to remove root from group
  lpadmin.

Modified:
   cupsys/trunk/   (props changed)
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/cupsys.postinst

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Mon Oct 15 10:30:50 2007
@@ -1,3 +1,10 @@
+cupsys (1.3.2-2) UNRELEASED; urgency=low
+
+  * debian/cupsys.postinst: Drop ancient code to remove root from group
+    lpadmin.
+
+ -- Martin Pitt <mpitt at debian.org>  Mon, 15 Oct 2007 12:29:12 +0200
+
 cupsys (1.3.2-1) unstable; urgency=low
 
   * New upstream bug fix release.

Modified: cupsys/trunk/debian/cupsys.postinst
==============================================================================
--- cupsys/trunk/debian/cupsys.postinst	(original)
+++ cupsys/trunk/debian/cupsys.postinst	Mon Oct 15 10:30:50 2007
@@ -39,11 +39,6 @@
 	if [ -z "`getent group lpadmin`" ]; then 
 	    addgroup --system lpadmin
 	fi
-	if [ -n "`getent group lpadmin | awk -F: '{ print $4 }' | awk -F, '{ for (i=1; i <= NF; i++ ) print $i }' |grep '^root$'`" ]; then
-	    # Bug#214746
-	    echo "Deleting root from lpadmin group. If you use NIS/LDAP, change this manually."
-	    deluser root lpadmin || true
-	fi
 
 	if [ -L /usr/share/ppd/cups-transitional-dir ]; then
 	    rm -f /usr/share/ppd/cups-transitional-dir



More information about the Pkg-cups-devel mailing list