From: Patrick Schleizer Date: Sat, 29 Nov 2014 16:23:02 +0000 (+0000) Subject: Break when using unsupported generic codenames "stable" or "testing" X-Git-Tag: v0.69~11 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=3aa73011a14ca04e2ba24ff18783c15ffe6f21f1 Break when using unsupported generic codenames "stable" or "testing" Fixes #37 (GH-37, PR 43) --- diff --git a/grml-debootstrap b/grml-debootstrap index 7a71239..a97f5ec 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -821,6 +821,14 @@ if [ "$CURRENT_ARCH" != "x86_64" ] ; then fi # }}} +# Support for generic release codenames is unavailable. {{{ +if [ "$RELEASE" = "stable" ] || [ "$RELEASE" = "testing" ] ; then + eerror "Generic release codenames (stable, testing) are unsupported. \ +Please use specific codenames such as lenny, squeeze, wheezy or jessie." ; eend 1 + bailout 1 +fi +# }}} + checkconfiguration # finally make sure at least $TARGET is set [the partition for the new system] {{{