2
0
nvidia-driver-template/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.prerm
Ward from fusion-voyager-3 316837caf1 Turn into template
2024-07-24 02:06:18 +03:00

14 lines
306 B
Bash

#!/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#