diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-29 19:53:37 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-29 19:53:37 +0100 |
commit | bc148527573ef1dd184532d48a300e14f4c190bb (patch) | |
tree | 07a49e7bbd85c048ec67f8d2af7ebbb28e620702 | |
parent | bad ; (diff) | |
download | arch-installer-bc148527573ef1dd184532d48a300e14f4c190bb.tar.gz arch-installer-bc148527573ef1dd184532d48a300e14f4c190bb.tar.bz2 arch-installer-bc148527573ef1dd184532d48a300e14f4c190bb.tar.xz arch-installer-bc148527573ef1dd184532d48a300e14f4c190bb.tar.zst arch-installer-bc148527573ef1dd184532d48a300e14f4c190bb.zip |
Removed useless quotes
-rwxr-xr-x | arch-installer.sh | 4 |
1 files 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 "\ |