[Pkg-samba-maint] r909 - branches/samba4
Steinar H. Gunderson
sesse at costa.debian.org
Fri Jan 6 02:23:40 UTC 2006
Author: sesse
Date: 2006-01-06 02:23:38 +0000 (Fri, 06 Jan 2006)
New Revision: 909
Modified:
branches/samba4/samba.config
Log:
Don't ask about Samba 3 upgrade if we're indeed upgrading from something.
Modified: branches/samba4/samba.config
===================================================================
--- branches/samba4/samba.config 2006-01-06 02:10:18 UTC (rev 908)
+++ branches/samba4/samba.config 2006-01-06 02:23:38 UTC (rev 909)
@@ -11,7 +11,7 @@
# Are we upgrading from Samba 3, and already have a configuration file?
# If so, the user might want to try the automatic upgrading.
#
- if dpkg --compare-versions "$2" lt "3.9.0"; then
+ if [ -n "$2" ] -a dpkg --compare-versions "$2" lt "3.9.0"; then
if [ -f /etc/samba/smb.conf ]; then
db_input medium samba/upgrade-from-v3 || true
db_go || true
More information about the Pkg-samba-maint
mailing list