remove redundant elif
use regex or instead of having of adding another elif
This commit is contained in:
parent
af35f44baa
commit
134fdf09d8
|
|
@ -118,10 +118,8 @@ if grep -E "NVIDIA|GeForce" <<< ${gpu_type}; then
|
|||
nvidia-xconfig
|
||||
elif lspci | grep 'VGA' | grep -E "Radeon|AMD"; then
|
||||
pacman -S --noconfirm --needed xf86-video-amdgpu
|
||||
elif grep -E "Integrated Graphics Controller" <<< ${gpu_type}; then
|
||||
elif grep -E "Integrated Graphics Controller|Intel Corporation UHD" <<< ${gpu_type}; then
|
||||
pacman -S --noconfirm --needed libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa
|
||||
elif grep -E "Intel Corporation UHD" <<< ${gpu_type}; then
|
||||
pacman -S --needed --noconfirm libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa
|
||||
fi
|
||||
#SETUP IS WRONG THIS IS RUN
|
||||
if ! source $HOME/ArchTitus/configs/setup.conf; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue