'corrected S_GRUB'

This commit is contained in:
Tobias Powalowski 2009-01-04 17:55:53 +01:00
parent b09cb4ee9e
commit 75c605a884

View file

@ -1367,15 +1367,14 @@ EOF
return 1
fi
DIALOG --msgbox "GRUB was successfully installed." 0 0
S_GRUB=1
if [ "$(blkid -c /dev/null | grep TYPE=\"mdraid\")" ]; then
DIALOG --defaultno --yesno "You have your system installed on software raid?\nAnswer 'YES' to install grub to another hard disk." 0 0
if [ $? -eq 0 ]; then
S_GRUB=""
else
S_GRUB=1
fi
else
S_GRUB=1
fi
done
}