summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-driver/douninst.sh
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2021-05-10 20:09:20 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-17 08:49:45 +0700
commit850efa92bfdd4c27cdd5abd001a5bc429d700aa1 (patch)
tree0856499ff9d9a10da7d412aed7b31de9c4c1c91c /system/nvidia-legacy390-driver/douninst.sh
parentd031160eb3e0ac66748a5f6860382618818d7140 (diff)
downloadslackbuilds-850efa92bfdd4c27cdd5abd001a5bc429d700aa1.tar.gz
system/nvidia-legacy390-driver: Updated for version 390.143.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy390-driver/douninst.sh')
-rw-r--r--system/nvidia-legacy390-driver/douninst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/nvidia-legacy390-driver/douninst.sh b/system/nvidia-legacy390-driver/douninst.sh
new file mode 100644
index 0000000000..d9c58a7dc2
--- /dev/null
+++ b/system/nvidia-legacy390-driver/douninst.sh
@@ -0,0 +1,14 @@
+( cd usr/libSUFFIX/xorg/modules/extensions
+ if [ -e libglx.so-xorg ]; then
+ mv libglx.so-xorg libglx.so
+ else
+ if [ ! -e libglx.so ]; then
+ echo -e "WARNING: libglx.so not found! Please reinstall xorg-server!\n"
+ fi
+ fi
+ )
+echo "The Nvidia legacy390 driver is removed. Make sure the Nvidia driver is"
+echo "DISABLED in /etc/X11/xorg.conf as well as /etc/X11/xorg.conf.d/ and"
+echo "/usr/share/X11/xorg.conf.d/. Otherwise, this may lead to improperly"
+echo -e "working drivers.\n"
+