grub_install: slightly change message if grub is not installed
authorMichael Prokop <mika@grml.org>
Fri, 27 Jan 2012 12:35:58 +0000 (13:35 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 27 Jan 2012 14:48:53 +0000 (15:48 +0100)
If using the VM install feature then grub is installed in
main grml-debootstrap script instead of the chroot script.
So don't confuse people too much with "not installing grub"
and later actually installing grub...

chroot-script

index 023ccff..4f10c54 100755 (executable)
@@ -431,8 +431,8 @@ initrd() {
 grub_install() {
 
   if [ -z "$GRUB" ] ; then
 grub_install() {
 
   if [ -z "$GRUB" ] ; then
-     echo "Notice: \$GRUB not defined, will not install grub therefore."
-     return 0
+    echo "Notice: \$GRUB not defined, will not install grub inside chroot at this stage."
+    return 0
   fi
 
   if ! dpkg --list grub-pc 2>/dev/null | grep -q '^ii' ; then
   fi
 
   if ! dpkg --list grub-pc 2>/dev/null | grep -q '^ii' ; then