diff --git a/Misc/Arch-LuksCrpy-Install.bash b/Misc/Arch-LuksCrpy-Install.bash index 93fdea0..324394f 100755 --- a/Misc/Arch-LuksCrpy-Install.bash +++ b/Misc/Arch-LuksCrpy-Install.bash @@ -310,7 +310,7 @@ __EOF__ else echo "${REPLY}" fi - done <<< "$(cat /etc/mkinitcpio.conf)" > /etc/mkinitcpio.conf + done <<< "$(cat /etc/mkinitcpio.conf)" > mkinitcpio.tmp && mv mkinitcpio.tmp /etc/mkinitcpio.conf mkinitcpio -P @@ -335,7 +335,7 @@ __EOF__ else echo "${REPLY}" fi - done <<< "$(cat /etc/default/grub)" > /etc/default/grub + done <<< "$(cat /etc/default/grub)" > grub.tmp && mv grub.tmp /etc/default/grub grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg