[Fai-commit] r4556 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Fri Sep 7 13:48:05 UTC 2007
Author: lange
Date: 2007-09-07 13:48:05 +0000 (Fri, 07 Sep 2007)
New Revision: 4556
Modified:
trunk/bin/fai-mirror
Log:
use $cfdir instead of fixed path /etc/fai
Modified: trunk/bin/fai-mirror
===================================================================
--- trunk/bin/fai-mirror 2007-09-07 13:21:29 UTC (rev 4555)
+++ trunk/bin/fai-mirror 2007-09-07 13:48:05 UTC (rev 4556)
@@ -25,9 +25,9 @@
# MA 02111-1307, USA.
#*********************************************************************
-version="Version 1.9.7, 28-august-2007"
+version="Version 1.9.8, 7-september-2007"
-# variables: NFSROOT, FAI_CONFIGDIR
+# variables: NFSROOT, FAI_CONFIGDIR, FAI_ETC_DIR
export FAI_ROOT=/ # do not execute in chroot
export PATH=$PATH:/usr/sbin
@@ -284,7 +284,7 @@
fi
# TODO: use -p to preserve sources.list
-perl -p -e 's/file:/copy:/' /etc/fai/apt/sources.list > $aptcache/etc/apt/sources.list
+perl -p -e 's/file:/copy:/' $cfdir/apt/sources.list > $aptcache/etc/apt/sources.list
echo "Getting package information"
apt-get $quiet $aptoptions update >/dev/null
More information about the Fai-commit
mailing list