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