aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver/doinst.sh
diff options
context:
space:
mode:
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 11586152dd2a5..fedbcb8f0ec0f 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