aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2024-07-08 08:12:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-09 20:12:34 +0700
commitf7969d224454dc6926c2fa3aa7ce03298115d6e7 (patch)
tree4fe5e5f1433f8edd83ca6a1abbb7be22f002b90d
parent493d064c855ade8a0de9638b4ca27a9859a72e1f (diff)
system/nvidia-legacy390-driver: Fix doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/nvidia-legacy390-driver/doinst.sh6
-rw-r--r--system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild2
2 files changed, 7 insertions, 1 deletions
diff --git a/system/nvidia-legacy390-driver/doinst.sh b/system/nvidia-legacy390-driver/doinst.sh
index e0d49fcf75354..da259716a2cbd 100644
--- a/system/nvidia-legacy390-driver/doinst.sh
+++ b/system/nvidia-legacy390-driver/doinst.sh
@@ -2,5 +2,11 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
usr/sbin/nvidia-switch --install
diff --git a/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild b/system/nvidia-legacy390-driver/nvidia-legacy390-driver.SlackBuild
index 278a5ed9f751b..431f61c2cc6d8 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:-7}
+BUILD=${BUILD:-8}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}