nvidia-driver-555/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.prerm

14 lines
306 B
Plaintext
Raw Normal View History

2024-07-24 03:30:09 +02:00
#!/bin/sh
set -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL#-open
update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL#
dpkg-trigger --no-await register-glx-alternative-nvidia
fi
#DEBHELPER#