diff --git a/debian/postinst b/debian/postinst index 62c4eb1..798a8a7 100644 --- a/debian/postinst +++ b/debian/postinst @@ -26,7 +26,7 @@ fi # Add nvidia support if an nvidia card is detected -if lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i nvidia +if lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i nvidia && lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i -E 'kernel modules|kernel driver' | grep -i nvidia then if cat /etc/booster.yaml | grep -i 'nvidia' then