Remove EFI Features on no EFI computer

This commit is contained in:
MatMoul 2015-10-10 23:09:19 +02:00
parent dd20f1fda1
commit 207ad1e72c

5
archfi
View file

@ -960,6 +960,7 @@ archinstallbootloader(){
"${options[@]}" \ "${options[@]}" \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then if [ "$?" = "0" ]; then
if [ "$eficomputer" == "1" ]; then
options=() options=()
if [ "$efimode" = "1" ]; then if [ "$efimode" = "1" ]; then
options+=("EFI" "") options+=("EFI" "")
@ -986,6 +987,10 @@ archinstallbootloader(){
esac esac
pressanykey pressanykey
fi fi
else
archchroot installbootloader $device;;
pressanykey
fi
fi fi
} }
archinstallbootloaderchroot(){ archinstallbootloaderchroot(){