summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-driver/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy390-driver/doinst.sh')
-rw-r--r--system/nvidia-legacy390-driver/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/nvidia-legacy390-driver/doinst.sh b/system/nvidia-legacy390-driver/doinst.sh
new file mode 100644
index 0000000000..8ee62f049e
--- /dev/null
+++ b/system/nvidia-legacy390-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
+