From bc148527573ef1dd184532d48a300e14f4c190bb Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 29 Nov 2019 19:53:37 +0100 Subject: Removed useless quotes --- arch-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index 395d2c8..095b78f 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -555,8 +555,8 @@ $usrpwd 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 [ $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; fi ARCH_CHROOT_CMDS dialog --title "WORK COMPLETE"\ --msgbox "\ -- cgit v1.2.3