From: Michael Prokop Date: Tue, 26 Apr 2011 11:41:27 +0000 (+0200) Subject: Support wheezy as suite inside /etc/grml/fai/apt/sources.list. X-Git-Tag: v0.13.3~51 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=346b946930e0c10920b42d5c74395f8f3a378af5;hp=55dde69ba032841fce15eb2cef598c05666e9488 Support wheezy as suite inside /etc/grml/fai/apt/sources.list. Without having wheezy as suite in the $DIST list for /etc/grml/fai/apt/sources.list the keyword won't be switched back to other releases once the system has been built for wheezy. :-/ --- diff --git a/grml-live b/grml-live index 4409e37..230fe50 100755 --- a/grml-live +++ b/grml-live @@ -429,7 +429,7 @@ case $SUITE in *) echo "Sorry, $SUITE is not a valid Debian suite, exiting.">&2; bailout 1 ;; esac -DIST=" etch\| stable\| lenny\| squeeze\| testing\| sid\| unstable" +DIST=" etch\| stable\| lenny\| squeeze\| wheezy\| testing\| sid\| unstable" sed "s/\(^deb .\+\)\([ \t]*\)\($DIST\)\([ \t]*\)\(main \)/\1 \2$SUITE\4\5/" "$SOURCES_LIST_FILE" | sponge "$SOURCES_LIST_FILE" for file in "$LIVE_CONF" "$CONFIG" "$LOCAL_CONFIG" ; do if [ -n "$file" ] ; then