X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=40480d2553e54de6ecdf62023a6df40f94f80156;hb=refs%2Ftags%2Fv0.32;hp=c8075d811109bd56de7fe9cbd27747db84cd669a;hpb=27b5b46a512f5131d99917846857eb8fcae2bc96;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index c8075d8..40480d2 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -163,6 +163,21 @@ fi } # }}} +# backwards compability checks {{{ +if [ -n "$GROOT" ] ; then + echo "Error: you seem to have \$GROOT configured." >&2 + echo "This variable is no longer supported, please visit the" >&2 + echo "grml-debootstrap documentation for details." >&2 + exit 1 +fi + +if echo "$GRUB" | grep -q '^hd' ; then + echo "Error: this syntax for the grub configuration variable is no longer supported." >&2 + echo "Please do not use hd... any longer but /dev/sdX instead." >&2 + exit 1 +fi +# }}} + # welcome screen {{{ welcome_dialog() {