Fix regexp

This commit is contained in:
David Heinemeier Hansson
2026-03-08 13:25:46 +01:00
parent 3306c428dd
commit 681540490e
+1 -1
View File
@@ -2,7 +2,7 @@
# Check if we have an Intel GPU at all
if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then
# HD Graphics / Iris / Xe / Arc use intel-media-driver
if [[ ${INTEL_GPU,,} =~ "hd graphics"|"xe"|"iris"|"arc" ]]; then
if [[ ${INTEL_GPU,,} =~ (hd\ graphics|xe|iris|arc) ]]; then
omarchy-pkg-add intel-media-driver
elif [[ ${INTEL_GPU,,} =~ "gma" ]]; then
# Older generations from 2008 to ~2014-2017 use libva-intel-driver