system/nvidia-legacy340-driver: Fix install with ROOT=.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2016-06-14 13:18:41 +01:00 committed by Robby Workman
parent 53eab6e16d
commit 1f0bd114b7
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -30,7 +30,7 @@
set -e
ROOT="/"
ROOT="${ROOT:-/}"
CWD=$(pwd)
LIBSUFFIX="LIBDIRSUFFIX" # This will be replaced in the build script
COMPAT32="LIB32FLAG" # This will be replaced in the build script (yes | no)