From 493d064c855ade8a0de9638b4ca27a9859a72e1f Mon Sep 17 00:00:00 2001 From: Lenard Spencer Date: Mon, 8 Jul 2024 08:12:15 +0700 Subject: system/nvidia-legacy470-driver: Fix doinst.sh. Signed-off-by: Willy Sudiarto Raharjo --- system/nvidia-legacy470-driver/doinst.sh | 6 ++++++ system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'system/nvidia-legacy470-driver') 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} -- cgit v1.2.3