[Cdd-commits] r254 - cdd/trunk/cdd/templates

Andreas Tille debian-custom@lists.debian.org
Thu, 15 Jul 2004 02:25:36 -0600


Author: tille
Date: Thu Jul 15 02:25:35 2004
New Revision: 254

Modified:
   cdd/trunk/cdd/templates/common.postinst
Log:
Obtain SHORT list of users without long name - this error proves how weak my concept of using integers as flags is - has to be changed later definitely!


Modified: cdd/trunk/cdd/templates/common.postinst
==============================================================================
--- cdd/trunk/cdd/templates/common.postinst	(original)
+++ cdd/trunk/cdd/templates/common.postinst	Thu Jul 15 02:25:35 2004
@@ -27,7 +27,7 @@
    fi
 done
 # Del those users which were obviousely removed from list of CDD users
-for user in `getAllUsers 0` ; do
+for user in `getAllUsers 1` ; do
    if [ `echo "$RET" | grep -c -w "$user"` -eq 0 ] && [ `getent group #CDD# | grep -c -w $user` -gt 0 ] ; then
       /usr/sbin/cdd-user del #CDD# $user
    fi