summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy96-driver/doinst.sh
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2013-07-07 21:26:22 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-07-14 17:07:16 -0500
commit6c513cb06e5a188279c9c6360f950c067b133767 (patch)
treec5193f3c62670625c10c0f0c132aa4c1e20d4332 /system/nvidia-legacy96-driver/doinst.sh
parentf9c2de67549f14816b7058a8fe15b27953afbecb (diff)
downloadslackbuilds-6c513cb06e5a188279c9c6360f950c067b133767.tar.gz
system/nvidia-legacy96-driver: Added.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy96-driver/doinst.sh')
-rw-r--r--system/nvidia-legacy96-driver/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/nvidia-legacy96-driver/doinst.sh b/system/nvidia-legacy96-driver/doinst.sh
new file mode 100644
index 0000000000..9ad2ad8600
--- /dev/null
+++ b/system/nvidia-legacy96-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
+