diff options
Diffstat (limited to 'system/nvidia-driver/doinst.sh')
-rw-r--r-- | system/nvidia-driver/doinst.sh | 8 |
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 |