slackbuilds_ponce/system/nvidia-legacy340-driver/doinst.sh
David Spencer 1f0bd114b7 system/nvidia-legacy340-driver: Fix install with ROOT=.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
2016-06-18 19:14:15 -05:00

6 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