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

bubulle at alioth.debian.org bubulle at alioth.debian.org
Thu May 10 16:57:46 UTC 2012


Author: bubulle
Date: 2012-05-10 16:57:45 +0000 (Thu, 10 May 2012)
New Revision: 4083

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/samba.postinst
Log:
Drop code that was moving files around in samba.postinst for
pre-squeeze version of the package.

Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2012-05-10 12:31:22 UTC (rev 4082)
+++ trunk/samba/debian/changelog	2012-05-10 16:57:45 UTC (rev 4083)
@@ -38,6 +38,8 @@
   * Add a NEWS.Debian entry about the libnss-winbind split and, while at
     it, add an entry for libpam-winbind too (as it will affect upgrades
     from squeeze).
+  * Drop code that was moving files around in samba.postinst for
+    pre-squeeze version of the package.
 
  -- Christian Perrier <bubulle at debian.org>  Mon, 07 May 2012 22:16:32 +0200
 

Modified: trunk/samba/debian/samba.postinst
===================================================================
--- trunk/samba/debian/samba.postinst	2012-05-10 12:31:22 UTC (rev 4082)
+++ trunk/samba/debian/samba.postinst	2012-05-10 16:57:45 UTC (rev 4083)
@@ -68,23 +68,6 @@
 
 # ------------------------- Debconf questions end ---------------------
 
-# move a tdb that should have been in /var/lib all along
-if dpkg --compare-versions "$2" lt-nl 3.0.25b-2 \
-   && dpkg --compare-versions "$2" ge 3.0.23-1 \
-   && [ -e /var/run/samba/share_info.tdb ] \
-   && ! [ -e /var/lib/samba/share_info.tdb ]
-then
-	mv /var/run/samba/share_info.tdb /var/lib/samba/share_info.tdb
-fi
-
-if dpkg --compare-versions "$2" lt-nl 2:3.5.4~dfsg-2 \
-   && dpkg --compare-versions "$2" ge 2:3.5.0~rc1~dfsg-1 \
-   && [ -e /etc/samba/schannel_store.tdb ] \
-   && ! [ -e /var/lib/samba/schannel_store.tdb ]
-then
-	mv /etc/samba/schannel_store.tdb /var/lib/samba/schannel_store.tdb
-fi
-
 # We want to add these entries to inetd.conf commented out. Otherwise
 #	UDP traffic could make inetd to start nmbd or smbd right during
 #	the configuration stage.





More information about the Pkg-samba-maint mailing list