aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatMoul <matmoul@gmail.com>2015-10-10 22:18:24 +0200
committerMatMoul <matmoul@gmail.com>2015-10-10 22:18:24 +0200
commite630cc94d8b0894750d9e18fc8b0c5bf2b97cea5 (patch)
tree8c4655f1754bba127ff086a4b6bef0eef0f8b760
parent35a802fab1f79a85859172bed07e8002a83b0748 (diff)
downloadhyperfi-e630cc94d8b0894750d9e18fc8b0c5bf2b97cea5.tar.lz
hyperfi-e630cc94d8b0894750d9e18fc8b0c5bf2b97cea5.tar.xz
hyperfi-e630cc94d8b0894750d9e18fc8b0c5bf2b97cea5.zip
Remove EFI Features on no EFI computer
-rw-r--r--archfi22
1 files changed, 11 insertions, 11 deletions
diff --git a/archfi b/archfi
index 81ab28c..52546c4 100644
--- a/archfi
+++ b/archfi
@@ -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,15 +921,17 @@ archinstallgrub(){
clear
pacstrap /mnt grub
- if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then
- if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
- clear
- pacstrap /mnt efibootmgr
- fi
- else
- if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" --defaultno 0 0) then
- clear
- pacstrap /mnt efibootmgr
+ if [ "eficomputer" = "1" ]; then
+ if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then
+ if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
+ clear
+ pacstrap /mnt efibootmgr
+ fi
+ else
+ if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" --defaultno 0 0) then
+ clear
+ pacstrap /mnt efibootmgr
+ fi
fi
fi