diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-06-14 13:18:41 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-06-18 19:14:15 -0500 |
commit | 1f0bd114b7820aac9e05aef664a134d9ad67df18 (patch) | |
tree | bfef412ade1a42c051681b5e4f863e7630065026 /system/nvidia-legacy340-driver/doinst.sh | |
parent | 53eab6e16d3103ff4a729e3c78cd4413d8761265 (diff) |
system/nvidia-legacy340-driver: Fix install with ROOT=.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'system/nvidia-legacy340-driver/doinst.sh')
-rw-r--r-- | system/nvidia-legacy340-driver/doinst.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/nvidia-legacy340-driver/doinst.sh b/system/nvidia-legacy340-driver/doinst.sh index 9ad2ad86009d6..8ee62f049edb4 100644 --- a/system/nvidia-legacy340-driver/doinst.sh +++ b/system/nvidia-legacy340-driver/doinst.sh @@ -1,6 +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 |