projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ccba9a8
)
Break when using unsupported generic codenames "stable" or "testing"
author
Patrick Schleizer
<adrelanos@riseup.net>
Sat, 29 Nov 2014 16:23:02 +0000
(16:23 +0000)
committer
Michael Prokop
<mika@grml.org>
Fri, 27 Feb 2015 13:46:00 +0000
(14:46 +0100)
Fixes #37 (GH-37, PR 43)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
7a71239
..
a97f5ec
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-821,6
+821,14
@@
if [ "$CURRENT_ARCH" != "x86_64" ] ; then
fi
# }}}
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] {{{
checkconfiguration
# finally make sure at least $TARGET is set [the partition for the new system] {{{