system/nvidia-legacy340-driver: Fix install with ROOT=.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
53eab6e16d
commit
1f0bd114b7
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue