From 93dc78c05afaa9e4a6f7f822203c69f8402ce4d1 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 3 Nov 2006 23:19:51 +0100 Subject: [PATCH] fix use of chrootmirror --- chroot-script | 4 ++-- config | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chroot-script b/chroot-script index 1524da4..4a505ac 100644 --- a/chroot-script +++ b/chroot-script @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Nov 03 22:48:42 CET 2006 [mika] +# Latest change: Fre Nov 03 23:19:29 CET 2006 [mika] ################################################################################ set -e # exit on any error @@ -14,7 +14,7 @@ set -e # exit on any error [ -r /proc/1 ] || mount -t proc none /proc if [ -n "$CHROOTMIRROR" ] ; then - echo "$CHROOTMIRROR" > /etc/apt/sources.list + echo "deb $CHROOTMIRROR $RELEASE main contrib non-free" /etc/apt/sources.list fi if ! [ -r /etc/kernel-img.conf ] ; then diff --git a/config b/config index d49d7e6..f8e7ded 100644 --- a/config +++ b/config @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Nov 03 22:05:19 CET 2006 [mika] +# Latest change: Fre Nov 03 23:19:35 CET 2006 [mika] ################################################################################ ################################################################################ @@ -30,7 +30,7 @@ MBR='' # specify entry which should be used for /etc/apt/sources.list, # if empty then any existing /etc/apt/sources.list will be taken -CHROOTMIRROR='deb ftp://ftp.tugraz.at/mirror/debian unstable main contrib non-free' +CHROOTMIRROR='ftp://ftp.tugraz.at/mirror/debian' # release (which Debian version should be installed) RELEASE='etch' -- 2.1.4