Update postinst
This commit is contained in:
parent
4a76ce4024
commit
a28d63c4dd
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -26,7 +26,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# Add nvidia support if an nvidia card is detected
|
# 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
|
then
|
||||||
if cat /etc/booster.yaml | grep -i 'nvidia'
|
if cat /etc/booster.yaml | grep -i 'nvidia'
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user