Remove EFI Features on no EFI computer
This commit is contained in:
parent
35a802fab1
commit
e630cc94d8
1 changed files with 11 additions and 11 deletions
22
archfi
22
archfi
|
@ -131,8 +131,6 @@ diskpartmenu(){
|
||||||
if [ "$eficomputer" == "0" ]; then
|
if [ "$eficomputer" == "0" ]; then
|
||||||
options+=("$txtautoparts (gpt)" "")
|
options+=("$txtautoparts (gpt)" "")
|
||||||
options+=("$txtautoparts (dos)" "")
|
options+=("$txtautoparts (dos)" "")
|
||||||
options+=("$txtautoparts (gpt,efi)" "")
|
|
||||||
options+=("$txtautoparts (gpt,bios+efi,noswap)" "")
|
|
||||||
else
|
else
|
||||||
options+=("$txtautoparts (gpt,efi)" "")
|
options+=("$txtautoparts (gpt,efi)" "")
|
||||||
options+=("$txtautoparts (gpt)" "")
|
options+=("$txtautoparts (gpt)" "")
|
||||||
|
@ -923,15 +921,17 @@ archinstallgrub(){
|
||||||
clear
|
clear
|
||||||
pacstrap /mnt grub
|
pacstrap /mnt grub
|
||||||
|
|
||||||
if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then
|
if [ "eficomputer" = "1" ]; then
|
||||||
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
|
if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then
|
||||||
clear
|
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
|
||||||
pacstrap /mnt efibootmgr
|
clear
|
||||||
fi
|
pacstrap /mnt efibootmgr
|
||||||
else
|
fi
|
||||||
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" --defaultno 0 0) then
|
else
|
||||||
clear
|
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" --defaultno 0 0) then
|
||||||
pacstrap /mnt efibootmgr
|
clear
|
||||||
|
pacstrap /mnt efibootmgr
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue