From a0832b2d5b2e8fa5258f58d4bc4573eb60fbab87 Mon Sep 17 00:00:00 2001 From: cronyakatsuki Date: Thu, 13 Oct 2022 21:44:20 +0200 Subject: [PATCH] Fix amdgpu preloading. --- arch_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch_install.sh b/arch_install.sh index 5dc7ea5..3355554 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)/' /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