1
0

Make mkinitcpio sed command better.

This commit is contained in:
CronyAkatsuki 2022-10-13 19:48:28 +02:00
parent d249a02209
commit d472557438

View File

@ -198,7 +198,7 @@ EndSection" > /etc/X11/xorg.conf.d/40-libinput.conf
echo "Do you wanna preload amdgpu with mkinitcpio.conf [y/n]: " echo "Do you wanna preload amdgpu with mkinitcpio.conf [y/n]: "
read preload_amdgpu 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]" echo "Want to install microcode for an amd cpu [y/n]"
read amd_ucode read amd_ucode