aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2023-06-09 02:38:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-10 14:01:19 +0700
commit7eadc5b014d1bb6718b22ce2b562e61e336d8f75 (patch)
tree68a17def2c3582986179425d5ebe0e3d1ad97565
parent56561f7e69b44ae14ae2f4a5254e55b0606fdf39 (diff)
system/nvidia-legacy390-driver: Fix nvidia-persistenced.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild b/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
index 0acbdfa03784..58b77a8d9d7a 100644
--- a/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
+++ b/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nvidia-legacy390-driver
VERSION=${VERSION:-390.157}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -162,7 +162,6 @@ mv -f $PKG/usr/man/man1/nvidia-installer.1.gz $TMP/$SRCNAM
if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
COMP32="--install-compat32-libs --compat32-prefix=$PKG/usr"
- mkdir $PKG/usr/lib
else
if [ ! "$ARCH" = "x86_64" ]; then
COMP32=""
@@ -350,6 +349,7 @@ if [ "${PERSISTENCED:-no}" = "yes" ]; then
# install rc.nvidia-perstistenced:
mkdir -p $PKG/etc/rc.d $PKG/var/run/nvidia-persistenced
install -m 755 $CWD/rc.nvidia-persistenced $PKG/etc/rc.d/rc.nvidia-persistenced
+ sed -i "s|__USER__|nvidia|" $PKG/etc/rc.d/rc.nvidia-persistenced
chown nvidia:nvidia $PKG/var/run/nvidia-persistenced
fi