summaryrefslogtreecommitdiff
path: root/backend/modules/bootloader
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2014-05-09 13:54:47 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2014-05-09 13:54:47 +0200
commitea38384b70f455ff99a4bc420dd63cba49f80451 (patch)
tree5e7dcaebe187d9a92cc9ed87c3dc44ab00006dbe /backend/modules/bootloader
parentb490e5fd8b6101dc35a194d551a27a08585c6d6c (diff)
downloadacritoxinstaller-ea38384b70f455ff99a4bc420dd63cba49f80451.zip
acritoxinstaller-ea38384b70f455ff99a4bc420dd63cba49f80451.tar.gz
Apple detection fixes
Diffstat (limited to 'backend/modules/bootloader')
-rw-r--r--backend/modules/bootloader2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/modules/bootloader b/backend/modules/bootloader
index ac5185b..7f74e82 100644
--- a/backend/modules/bootloader
+++ b/backend/modules/bootloader
@@ -88,7 +88,7 @@ function install_grub()
# install grub
mkdir -p "$TARGET/boot/grub"
if [ -d /sys/firmware/efi ]; then
- if is_removeable "$cfg_bootloader_target" && [ "$apple" = 1 ]; then
+ if is_removeable "$cfg_bootloader_target" || [ "$apple" = 1 ]; then
chroot_it grub-install --removeable &>/dev/null
else
chroot_it grub-install &>/dev/null