summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-driver/doinst.sh
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2018-11-10 00:18:09 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:48:00 +0700
commit2bec5d0a5a79c0b4932fbb028f392a1db37279d0 (patch)
tree6c720b14e09be2f81bc3f11b2e8ee8229791486c /system/nvidia-legacy390-driver/doinst.sh
parent499640e71099a817e4bf2c0bd7615a25e53e08e5 (diff)
downloadslackbuilds-2bec5d0a5a79c0b4932fbb028f392a1db37279d0.tar.gz
system/nvidia-legacy390-driver: Added (Nvidia Proprietary Driver).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy390-driver/doinst.sh')
-rw-r--r--system/nvidia-legacy390-driver/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/nvidia-legacy390-driver/doinst.sh b/system/nvidia-legacy390-driver/doinst.sh
new file mode 100644
index 0000000000..8ee62f049e
--- /dev/null
+++ b/system/nvidia-legacy390-driver/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+./usr/sbin/nvidia-switch --install
+