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

vorlon at alioth.debian.org vorlon at alioth.debian.org
Thu Dec 13 10:24:02 UTC 2007


Author: vorlon
Date: 2007-12-13 10:24:02 +0000 (Thu, 13 Dec 2007)
New Revision: 1679

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/samba-common.postinst
Log:
* Drop some further code in samba-common.postinst that's specific to
  pre-3.0 upgrades.

Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2007-12-13 09:59:55 UTC (rev 1678)
+++ trunk/samba/debian/changelog	2007-12-13 10:24:02 UTC (rev 1679)
@@ -1,8 +1,9 @@
 samba (3.0.28-2) UNRELEASED; urgency=low
 
-  * 
+  * Drop some further code in samba-common.postinst that's specific to
+    pre-3.0 upgrades.
 
- -- Steve Langasek <vorlon at debian.org>  Thu, 13 Dec 2007 01:15:49 -0800
+ -- Steve Langasek <vorlon at debian.org>  Thu, 13 Dec 2007 02:21:32 -0800
 
 samba (3.0.28-1) unstable; urgency=high
 

Modified: trunk/samba/debian/samba-common.postinst
===================================================================
--- trunk/samba/debian/samba-common.postinst	2007-12-13 09:59:55 UTC (rev 1678)
+++ trunk/samba/debian/samba-common.postinst	2007-12-13 10:24:02 UTC (rev 1679)
@@ -71,14 +71,6 @@
 		db_fset samba-common/dhcp applied true
 	fi
 
-	if grep -qi "^[[:space:]]*passdb backend[[:space:]]*=.*unixsam" "$CONFIG"
-	then
-		sed -i -e 's/^\([[:space:]]*\)passdb backend/\1passdb backend/i
-			/^[[:space:]]*passdb backend/ {
-				s/unixsam/guest/i
-			}' "$CONFIG"
-	fi
-
 	if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.0.23b-2 \
 	   && grep -qi "^[[:space:]]*passdb backend[[:space:]]*=.*guest" "$CONFIG"
 	then




More information about the Pkg-samba-maint mailing list