summaryrefslogtreecommitdiff
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.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/nvidia-driver/doinst.sh b/system/nvidia-driver/doinst.sh
index 13f101c5be..8ee62f049e 100644
--- a/system/nvidia-driver/doinst.sh
+++ b/system/nvidia-driver/doinst.sh
@@ -1,5 +1,6 @@
if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications
fi
-/usr/sbin/nvidia-switch --install
+./usr/sbin/nvidia-switch --install
+