X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=40480d2553e54de6ecdf62023a6df40f94f80156;hp=c8075d811109bd56de7fe9cbd27747db84cd669a;hb=refs%2Ftags%2Fv0.32;hpb=d27799d91e7f4bda64cd520917d6a2d2b496e0c5 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() {