Remove EFI Features on no EFI computer

This commit is contained in:
MatMoul 2015-10-10 22:18:24 +02:00
parent 35a802fab1
commit e630cc94d8

4
archfi
View file

@ -131,8 +131,6 @@ diskpartmenu(){
if [ "$eficomputer" == "0" ]; then
options+=("$txtautoparts (gpt)" "")
options+=("$txtautoparts (dos)" "")
options+=("$txtautoparts (gpt,efi)" "")
options+=("$txtautoparts (gpt,bios+efi,noswap)" "")
else
options+=("$txtautoparts (gpt,efi)" "")
options+=("$txtautoparts (gpt)" "")
@ -923,6 +921,7 @@ archinstallgrub(){
clear
pacstrap /mnt grub
if [ "eficomputer" = "1" ]; then
if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
clear
@ -934,6 +933,7 @@ archinstallgrub(){
pacstrap /mnt efibootmgr
fi
fi
fi
if [ "$luksroot" = "1" ]; then
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/grub}" --yesno "$txtgrubluksdetected" 0 0) then