From a678bfe6359e9462ffae2831c63665976126455f Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 30 Jul 2022 04:26:37 -0500 Subject: [PATCH] fix: keep sed on one line --- Misc/Arch-LuksCrypt-Install.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Misc/Arch-LuksCrypt-Install.bash b/Misc/Arch-LuksCrypt-Install.bash index 6a0487e..134c833 100644 --- a/Misc/Arch-LuksCrypt-Install.bash +++ b/Misc/Arch-LuksCrypt-Install.bash @@ -351,8 +351,7 @@ main() { printf "Configure Grub\n" >&2 yes | pacman -S grub efibootmgr intel-ucode amd-ucode - sed -i - "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"cryptdevice=UUID=$(blkid -s UUID -o value "${root_partition}"):cryptroot root=\/dev\/mapper\/cryptroot\"/" /etc/default/grub + sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"cryptdevice=UUID=$(blkid -s UUID -o value "${root_partition}"):cryptroot root=\/dev\/mapper\/cryptroot\"/" /etc/default/grub grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg