[Fai-commit] r4813 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Tue Dec 4 15:01:13 UTC 2007


Author: lange
Date: 2007-12-04 15:01:12 +0000 (Tue, 04 Dec 2007)
New Revision: 4813

Modified:
   trunk/bin/fai-mirror
Log:
set MAXPACKAGES=1 if undefined before


Modified: trunk/bin/fai-mirror
===================================================================
--- trunk/bin/fai-mirror	2007-12-03 08:14:40 UTC (rev 4812)
+++ trunk/bin/fai-mirror	2007-12-04 15:01:12 UTC (rev 4813)
@@ -25,7 +25,7 @@
 # MA 02111-1307, USA.
 #*********************************************************************
 
-version="Version 1.9.10, 21-november-2007"
+version="Version 1.9.11, 4-december-2007"
 
 # variables: NFSROOT, FAI_CONFIGDIR, FAI_ETC_DIR
 
@@ -272,6 +272,9 @@
 
 [ -d $FAI_CONFIGDIR/package_config ] || die 6 "Can't find package config files in $FAI_CONFIGDIR."
 
+# set default if undefined
+[ -z "$MAXPACKAGES" ] && export MAXPACKAGES=1
+
 initialize
 
 # if we are using nfs mounts for Debian mirror, this may fail here, since inside a chroot environment different dir are used




More information about the Fai-commit mailing list