[Pkg-samba-maint] r849 - branches/samba4

Steinar H. Gunderson sesse at costa.debian.org
Tue Jan 3 16:55:54 UTC 2006


Author: sesse
Date: 2006-01-03 16:55:53 +0000 (Tue, 03 Jan 2006)
New Revision: 849

Modified:
   branches/samba4/samba.postinst
Log:
Move smb.conf out of the way when upgrading. Also actually give the
Samba 3 library and configuration directories to the upgrade command.

Upgrade is borked for me (ends with an assertion failure), checking
with upstream ATM.


Modified: branches/samba4/samba.postinst
===================================================================
--- branches/samba4/samba.postinst	2006-01-03 16:36:06 UTC (rev 848)
+++ branches/samba4/samba.postinst	2006-01-03 16:55:53 UTC (rev 849)
@@ -12,7 +12,8 @@
 			db_get samba/upgrade-from-v3 || true
 			if [ "$RET" = "true" ]; then
 				UPGRADE_FROM_V3=yes
-				/usr/lib/samba/setup/upgrade	
+				mv /etc/samba/smb.conf /etc/samba/smb.conf.samba3
+				/usr/lib/samba/setup/upgrade /var/lib/samba /etc/samba/smb.conf.samba3
 				db_stop
 			fi
 		fi




More information about the Pkg-samba-maint mailing list