summaryrefslogtreecommitdiff
path: root/system/nvidia-driver/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:26:51 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:26:51 +0200
commit9fef33508ca79a2a21d98511d74def8ce28cecff (patch)
treef10782c16cfa3eefbd19342d75be800bd4978734 /system/nvidia-driver/doinst.sh
parent721ba322e1d117a8829249c6ced9edf09f5d0788 (diff)
downloadslackbuilds-9fef33508ca79a2a21d98511d74def8ce28cecff.tar.gz
system/nvidia-driver: Updated for version 177.82
Diffstat (limited to 'system/nvidia-driver/doinst.sh')
-rw-r--r--system/nvidia-driver/doinst.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/nvidia-driver/doinst.sh b/system/nvidia-driver/doinst.sh
index 11586152dd..fedbcb8f0e 100644
--- a/system/nvidia-driver/doinst.sh
+++ b/system/nvidia-driver/doinst.sh
@@ -1,6 +1,5 @@
-
-if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ ./usr/bin/update-desktop-database -q usr/share/applications
fi
if ! [ -e usr/lib/xorg/modules/libwfb.so ]; then
@@ -24,5 +23,4 @@ fi
( cd usr/lib ; rm -rf libcuda.so )
( cd usr/lib ; ln -sf libcuda.so.1 libcuda.so )
-/usr/sbin/nvidia-switch --nvidia
-
+/usr/sbin/nvidia-switch --install \ No newline at end of file