From 346b946930e0c10920b42d5c74395f8f3a378af5 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 26 Apr 2011 13:41:27 +0200 Subject: [PATCH] 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. :-/ --- grml-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4