mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'fixed grub reinstall part'
This commit is contained in:
parent
ce240b37a0
commit
b41d80169d
1 changed files with 1 additions and 6 deletions
|
@ -1371,12 +1371,7 @@ EOF
|
|||
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=""
|
||||
fi
|
||||
else
|
||||
|
||||
DIALOG --defaultno --yesno "You have your system installed on software raid.\nAnswer 'YES' to install grub to another hard disk." 0 0 && S_GRUB=""
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue