From 15027c0e00ab7fccb594bbd19d2e6413cba72e4c Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 10 Oct 2015 22:51:33 +0200 Subject: [PATCH] Remove EFI Features on no EFI computer --- archfi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archfi b/archfi index 52546c4..a609d6c 100644 --- a/archfi +++ b/archfi @@ -670,7 +670,7 @@ archmenu(){ options+=("${txtedit//%1/cryptotab}" "($txtoptional)") options+=("${txtedit//%1/mkinitcpio.conf}" "($txtoptional)") options+=("${txtedit//%1/mirrorlist}" "($txtoptional)") - options+=("${txtinstall//%1/grub}" "pacstrap grub (os-prober), grub-mkconfig") + options+=("${txtinstall//%1/grub}" "pacstrap grub (efibootmgr), grub-mkconfig") options+=("${txtedit//%1/grub}" "($txtoptional)") options+=("${txtinstall//%1/bootloader}" "grub-install") options+=("${txtenable//%1/dhcpcd}" "systemctl enable dhcpd") @@ -921,7 +921,7 @@ archinstallgrub(){ clear pacstrap /mnt grub - if [ "eficomputer" = "1" ]; then + if [ "eficomputer" == "1" ]; then if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then clear