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

Steinar H. Gunderson sesse at costa.debian.org
Fri Jan 6 02:29:51 UTC 2006


Author: sesse
Date: 2006-01-06 02:29:51 +0000 (Fri, 06 Jan 2006)
New Revision: 910

Modified:
   branches/samba4/samba.config
Log:
03:29 < vorlon> Sesse: oh, I read && instead of -a
03:29 < Sesse> oh, but && is allowed?
03:29 < vorlon> yes, that's the shell operator. -a is a test operator.



Modified: branches/samba4/samba.config
===================================================================
--- branches/samba4/samba.config	2006-01-06 02:23:38 UTC (rev 909)
+++ branches/samba4/samba.config	2006-01-06 02:29:51 UTC (rev 910)
@@ -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 [ -n "$2" ] -a dpkg --compare-versions "$2" lt "3.9.0"; then
+	if [ -n "$2" ] && 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