From d4725574385a3eba3b027d95dba4c84c8826a67c Mon Sep 17 00:00:00 2001 From: cronyakatsuki Date: Thu, 13 Oct 2022 19:48:28 +0200 Subject: [PATCH] Make mkinitcpio sed command better. --- arch_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch_install.sh b/arch_install.sh index 9cfcac6..5339f2d 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -198,7 +198,7 @@ EndSection" > /etc/X11/xorg.conf.d/40-libinput.conf echo "Do you wanna preload amdgpu with mkinitcpio.conf [y/n]: " read preload_amdgpu -[[ $preload_amdgpu = "y" ]] sed -i 's/MODULES=()/MODULES=(amdgpu)/g' /etc/mkinitcpio.conf +[[ $preload_amdgpu = "y" ]] sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf echo "Want to install microcode for an amd cpu [y/n]" read amd_ucode