From d8a5f65e9ed8ca7741700bcc1aab86e6bb1ec1e0 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Thu, 18 Apr 2024 18:59:22 +0100 Subject: Adjust regexp in grub comand --- install-artix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-artix.sh b/install-artix.sh index e0e820b..1c4df58 100755 --- a/install-artix.sh +++ b/install-artix.sh @@ -335,7 +335,7 @@ devices+=" resume_offset=$(btrfs inspect-internal map-swapfile -r $swapfile)" grub_cmds="loglevel=3 net.iframes=0 quiet splash" # Replace default grub commands -sed "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*$/GRUB_CMDLINE_LINUX_DEFAULT=\"${grub_cmds} ${devices}\"/" \ +sed "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"${grub_cmds} ${devices}\"/" \ -i /mnt/etc/default/grub # Enable os-prober to detect other operating systems -- cgit