diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-06-14 13:18:54 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-06-18 19:14:15 -0500 |
commit | 6aba8faef12d1256309f650b68bcef88858c124c (patch) | |
tree | 81c2bfd072c353263c3c0f93d3ba30e0d68687bb /system/nvidia-driver/doinst.sh | |
parent | 1f0bd114b7820aac9e05aef664a134d9ad67df18 (diff) |
system/nvidia-driver: Fix install with ROOT=.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'system/nvidia-driver/doinst.sh')
-rw-r--r-- | system/nvidia-driver/doinst.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/nvidia-driver/doinst.sh b/system/nvidia-driver/doinst.sh index 13f101c5be96a..8ee62f049edb4 100644 --- a/system/nvidia-driver/doinst.sh +++ b/system/nvidia-driver/doinst.sh @@ -1,5 +1,6 @@ if [ -x /usr/bin/update-desktop-database ]; then - ./usr/bin/update-desktop-database -q usr/share/applications + /usr/bin/update-desktop-database -q usr/share/applications fi -/usr/sbin/nvidia-switch --install +./usr/sbin/nvidia-switch --install + |