slackbuilds/system/nvidia-driver/doinst.sh

7 lines
150 B
Bash

if [ -x /usr/bin/update-desktop-database ]; then
./usr/bin/update-desktop-database -q usr/share/applications
fi
/usr/sbin/nvidia-switch --install