summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy340-driver/doinst.sh
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2015-02-09 19:26:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-09 19:26:26 +0700
commit199c615019fc4cefd141f3b94f099ef514ad9193 (patch)
treec30bf27f9ee49391fd45ee4ca1b8f96b3094847e /system/nvidia-legacy340-driver/doinst.sh
parenta7c57176f7a73436d28781c0e59b37e3a3368263 (diff)
downloadslackbuilds-199c615019fc4cefd141f3b94f099ef514ad9193.tar.gz
system/nvidia-legacy340-driver: Added (Binary Nvidia Video Driver).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy340-driver/doinst.sh')
-rw-r--r--system/nvidia-legacy340-driver/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/nvidia-legacy340-driver/doinst.sh b/system/nvidia-legacy340-driver/doinst.sh
new file mode 100644
index 0000000000..9ad2ad8600
--- /dev/null
+++ b/system/nvidia-legacy340-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
+