summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy304-driver/doinst.sh
diff options
context:
space:
mode:
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
+