X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F33-aptsetup;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F33-aptsetup;h=d78584f0669736dfe05341acab483531f712d907;hp=9e4df635f8191c20c940a22c4a75530bab411c51;hb=cfb3ddf55a9f047d57dc3d3e0bbd12f941aaa6e1;hpb=cd6eea7f0f5d029f40d1aff1af62b78f82abbd06 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup b/etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup index 9e4df63..d78584f 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup +++ b/etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup @@ -8,6 +8,13 @@ set -e +if [ -L "$target"/etc/apt/sources.list ] ; then + echo "Note: $target/etc/apt/sources.list seems to be the old sources.list setup." + echo "|-> Not modifying anything. If you want to switch to the new setup just" + echo "\`-> remove symlink $target/etc/apt/sources.list" + exit 0 +fi + # remove leftover from /etc/grml/fai/config/hooks/instsoft.GRMLBASE: rm -f $target/etc/apt/sources.list.d/grml-live.list