From 4ef5a027f2e71d769db639d2d7bf840032b7b115 Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 28 Jun 2018 15:10:05 +0200 Subject: [PATCH] new_test --- arch-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch-install b/arch-install index cf1f663..aa5c09d 100755 --- a/arch-install +++ b/arch-install @@ -812,7 +812,7 @@ function abfrage() { echo "Please write down the entries: D !!!" echo "For each yes you have to make a y and for every no an n, unless it is interpreted differently!!!" echo "" - if mount | grep efi > /dev/null; then + if mount | grep efi > /dev/null && [ -d /sys/firmware/efi/efivars/ ]; then echo "System supports UEFI" read -p "How would you like to have your hard drive partitioned?: [UEFI/bios] " Partition [[ -z "${Partition}" ]] && Partition=uefi