X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=89f0f8d14855ad633bb52f8efd68a7ee464189d9;hp=6e1a049a794cc112ab97c696ddfcd39e50f00c26;hb=010a354042db32706c74ee821cbcf8233b1471e5;hpb=9c1ec11b57c83bfc7b31e2a7148fc39514f46c44 diff --git a/chroot-script b/chroot-script index 6e1a049..89f0f8d 100755 --- a/chroot-script +++ b/chroot-script @@ -113,6 +113,8 @@ remove_chrootmirror() { echo "Removing local mirror (${MIRROR}) from sources.list." TMP_MIRROR=$(echo "$MIRROR" |sed 's#/#\\/#g') sed -i "/deb $TMP_MIRROR $RELEASE $COMPONENTS/ D" /etc/apt/sources.list + echo "Adding fallback mirror entry (${FALLBACK_MIRROR}) to sources.list instead." + echo "deb $FALLBACK_MIRROR $RELEASE $COMPONENTS" >> /etc/apt/sources.list fi fi }