use
[grml-debootstrap.git] / chroot-script
index 20fa315..6b5b303 100644 (file)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fre Nov 03 12:13:15 CET 2006 [mika]
+# Latest change: Fre Nov 03 12:27:20 CET 2006 [mika]
 ################################################################################
 
 set -e
@@ -13,8 +13,8 @@ set -e
 
 [ -r /proc/1 ] || mount -t proc   none /proc
 
-if [ -n "MIRROR_LIST" ] ; then
-   echo $MIRROR_LIST > /etc/apt/sources.list
+if [ -n "$CHROOTMIRROR" ] ; then
+   echo "$CHROOTMIRROR" > /etc/apt/sources.list
 fi
 
 # install additional packages