mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-28 12:49:25 +00:00
Fix the grep target
This commit is contained in:
@ -12,7 +12,7 @@
|
|||||||
if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
||||||
# --- Driver Selection ---
|
# --- Driver Selection ---
|
||||||
# Turing (16xx, 20xx), Ampere (30xx), Ada (40xx), and newer recommend the open-source kernel modules
|
# Turing (16xx, 20xx), Ampere (30xx), Ada (40xx), and newer recommend the open-source kernel modules
|
||||||
if echo "$gpu_info" | grep -q -E "RTX [2-9][0-9]|GTX 16"; then
|
if echo "$(lspci | grep -i 'nvidia')" | grep -q -E "RTX [2-9][0-9]|GTX 16"; then
|
||||||
NVIDIA_DRIVER_PACKAGE="nvidia-open-dkms"
|
NVIDIA_DRIVER_PACKAGE="nvidia-open-dkms"
|
||||||
else
|
else
|
||||||
NVIDIA_DRIVER_PACKAGE="nvidia-dkms"
|
NVIDIA_DRIVER_PACKAGE="nvidia-dkms"
|
||||||
|
Reference in New Issue
Block a user