summaryrefslogtreecommitdiffstats
path: root/games/sms_sdl
diff options
context:
space:
mode:
Diffstat (limited to 'games/sms_sdl')
-rw-r--r--games/sms_sdl/doinst.sh5
-rw-r--r--games/sms_sdl/sms_sdl.SlackBuild4
2 files changed, 8 insertions, 1 deletions
diff --git a/games/sms_sdl/doinst.sh b/games/sms_sdl/doinst.sh
index 6dabb61160..4b35984395 100644
--- a/games/sms_sdl/doinst.sh
+++ b/games/sms_sdl/doinst.sh
@@ -6,3 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/games/sms_sdl/sms_sdl.SlackBuild b/games/sms_sdl/sms_sdl.SlackBuild
index ca1f660f46..b4faea9300 100644
--- a/games/sms_sdl/sms_sdl.SlackBuild
+++ b/games/sms_sdl/sms_sdl.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230107 bkw: BUILD=5, fix doinst.sh.
+
# 20211024 bkw: BUILD=4
# - made a new icon, hopefully better looking.
# - new-style icons.
@@ -30,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sms_sdl
VERSION=${VERSION:-0.9.4a_r7.1}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}