[Pkg-samba-maint] r3538 - trunk/samba/debian

vorlon at alioth.debian.org vorlon at alioth.debian.org
Sun Jul 11 07:20:04 UTC 2010


Author: vorlon
Date: 2010-07-11 07:19:59 +0000 (Sun, 11 Jul 2010)
New Revision: 3538

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/samba.postinst
Log:
Fix a bashism in the samba postinst that can cause the package
installation to fail under dash.  LP: #576307.

Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2010-07-11 06:07:45 UTC (rev 3537)
+++ trunk/samba/debian/changelog	2010-07-11 07:19:59 UTC (rev 3538)
@@ -7,6 +7,8 @@
     using invoke-rc.d, to address the irony that the only package I work on
     that *has* a logrotate script is inconsistent with my position in
     bug #445203.
+  * Fix a bashism in the samba postinst that can cause the package
+    installation to fail under dash.  LP: #576307.
 
   [ Christian Perrier ]
   * Don't copy system accounts from /etc/passwd to

Modified: trunk/samba/debian/samba.postinst
===================================================================
--- trunk/samba/debian/samba.postinst	2010-07-11 06:07:45 UTC (rev 3537)
+++ trunk/samba/debian/samba.postinst	2010-07-11 07:19:59 UTC (rev 3538)
@@ -111,7 +111,7 @@
 		IFS=","
 		for USER in `getent group admin | cut -f4 -d:`; do
 			adduser "$USER" sambashare \
-			|| !getent passwd "$USER" >/dev/null
+			|| ! getent passwd "$USER" >/dev/null
 		done
 		IFS="$OLDIFS"
 	fi





More information about the Pkg-samba-maint mailing list