Remove EFI Features on no EFI computer

This commit is contained in:
MatMoul 2015-10-10 23:00:50 +02:00
parent 15027c0e00
commit dd20f1fda1

4
archfi
View file

@ -921,8 +921,8 @@ archinstallgrub(){
clear clear
pacstrap /mnt grub pacstrap /mnt grub
if [ "eficomputer" == "1" ]; then if [ "$eficomputer" == "1" ]; then
if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then if [ "$efimode" == "1" ]||[ "$efimode" == "2" ]; then
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
clear clear
pacstrap /mnt efibootmgr pacstrap /mnt efibootmgr