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

14 lines
306 B
Plaintext
Raw Normal View History

2024-10-22 17:05:20 +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#