diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2024-07-08 08:12:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-09 20:12:33 +0700 |
commit | 493d064c855ade8a0de9638b4ca27a9859a72e1f (patch) | |
tree | b978b37c7d92396e7b61807927f8fdaa395968b4 /system/nvidia-legacy470-driver | |
parent | 6abf579e5234441583b13b22688a180543f5652d (diff) |
system/nvidia-legacy470-driver: Fix doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy470-driver')
-rw-r--r-- | system/nvidia-legacy470-driver/doinst.sh | 6 | ||||
-rw-r--r-- | system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/system/nvidia-legacy470-driver/doinst.sh b/system/nvidia-legacy470-driver/doinst.sh index 392c12adb9bd3..a30493342c424 100644 --- a/system/nvidia-legacy470-driver/doinst.sh +++ b/system/nvidia-legacy470-driver/doinst.sh @@ -2,3 +2,9 @@ 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 + diff --git a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild index cb37105a470dc..23eb0f05565fa 100644 --- a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild +++ b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for nvidia-legacy470-driver # Copyright 2012-2019 Edward W. Koenig, Vancouver, WA, US -# Copyright 2021-2023 Lenard Spencer, Orlando, FL, USA +# Copyright 2021-2024 Lenard Spencer, Orlando, FL, USA # # All rights reserved. # @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nvidia-legacy470-driver VERSION=${VERSION:-470.256.02} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} |