From 7ec61b13806838e0b31ca4a7eebe85f094707552 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 29 Nov 2019 19:34:07 +0100 Subject: bad ; --- arch-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch-installer.sh b/arch-installer.sh index d688376..395d2c8 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -556,7 +556,7 @@ ARCH_CHROOT_CMDS fi arch-chroot /mnt/arch << ARCH_CHROOT_CMDS if [ "$ltskern" = false ]; then mkinitcpio -p linux; else mkinitcpio -p linux-lts; fi -if [ "$efimode" = true ]; then; grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --recheck; mkdir -p /boot/grub; grub-mkconfig -o /boot/grub/grub.cfg; mkdir -p /boot/efi/EFI/BOOT; cp /boot/efi/EFI/GRUB/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI; echo "bcf boot add 1 fs0:\\EFI\\GRUB\\grubx64.efi \"GRUB bootloader\"" > /boot/efi/startup.nsh; echo "exit" >> /boot/efi/startup.nsh; else grub-install --target=i386-pc $drv; grub-mkconfig -o /boot/grub/grub.cfg +if [ "$efimode" = true ]; then grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --recheck; mkdir -p /boot/grub; grub-mkconfig -o /boot/grub/grub.cfg; mkdir -p /boot/efi/EFI/BOOT; cp /boot/efi/EFI/GRUB/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI; echo "bcf boot add 1 fs0:\\EFI\\GRUB\\grubx64.efi \"GRUB bootloader\"" > /boot/efi/startup.nsh; echo "exit" >> /boot/efi/startup.nsh; else grub-install --target=i386-pc $drv; grub-mkconfig -o /boot/grub/grub.cfg ARCH_CHROOT_CMDS dialog --title "WORK COMPLETE"\ --msgbox "\ -- cgit v1.2.3