Update postinst

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-31 13:10:15 +03:00 committed by GitHub
parent 6786d76fad
commit 452842e37d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
debian/postinst vendored
View File

@ -35,6 +35,12 @@ else
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
then
# DO NVIDIA BULLSHIT
fi
cp -f /usr/lib/booster/update-initramfs /usr/sbin/update-initramfs
chmod +x /usr/sbin/update-initramfs
update-initramfs -c -k all