mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'corrected S_GRUB'
This commit is contained in:
parent
b09cb4ee9e
commit
75c605a884
1 changed files with 2 additions and 3 deletions
|
@ -1367,15 +1367,14 @@ EOF
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
DIALOG --msgbox "GRUB was successfully installed." 0 0
|
DIALOG --msgbox "GRUB was successfully installed." 0 0
|
||||||
|
S_GRUB=1
|
||||||
if [ "$(blkid -c /dev/null | grep TYPE=\"mdraid\")" ]; then
|
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
|
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
|
if [ $? -eq 0 ]; then
|
||||||
S_GRUB=""
|
S_GRUB=""
|
||||||
else
|
|
||||||
S_GRUB=1
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
S_GRUB=1
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue