X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=chroot-script;h=c59f455d070fe439e4de145c8f491c33b9e03c25;hb=refs%2Ftags%2Fv0.24;hp=0e93220ad2d70fa5ab1de25f480d2fa2cbcd31fd;hpb=d1ee67b27740a8f694b7c23105ce976a35cb5724;p=grml-debootstrap.git diff --git a/chroot-script b/chroot-script index 0e93220..c59f455 100755 --- a/chroot-script +++ b/chroot-script @@ -49,10 +49,10 @@ chrootmirror() { [ -n "$KEEP_SRC_LIST" ] && return if [ -n "$ISO" ] ; then echo "deb $ISO $RELEASE main contrib" > /etc/apt/sources.list - [ -n "$CHROOTMIRROR" ] && echo "deb $CHROOTMIRROR $RELEASE main contrib non-free" >> /etc/apt/sources.list + [ -n "$MIRROR" ] && echo "deb $MIRROR $RELEASE main contrib non-free" >> /etc/apt/sources.list else - if [ -n "$CHROOTMIRROR" ] ; then - echo "deb $CHROOTMIRROR $RELEASE main contrib non-free" > /etc/apt/sources.list + if [ -n "$MIRROR" ] ; then + echo "deb $MIRROR $RELEASE main contrib non-free" > /etc/apt/sources.list fi fi }