summaryrefslogtreecommitdiffstats
path: root/games/yar
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-01-07 22:41:44 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:21 +0700
commit8522cfe6a1d8582dcbee969e7fa0c5710e30f734 (patch)
tree6b46508effebc914e006773e950aa24142e85297 /games/yar
parentecf033385d81ab3e561a538742abb840201c660b (diff)
downloadslackbuilds-8522cfe6a1d8582dcbee969e7fa0c5710e30f734.tar.gz
slackbuilds-8522cfe6a1d8582dcbee969e7fa0c5710e30f734.tar.xz
games/yar: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/yar')
-rw-r--r--games/yar/doinst.sh6
-rw-r--r--games/yar/yar.SlackBuild3
2 files changed, 8 insertions, 1 deletions
diff --git a/games/yar/doinst.sh b/games/yar/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/yar/doinst.sh
+++ b/games/yar/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/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/yar/yar.SlackBuild b/games/yar/yar.SlackBuild
index 84401db47a..e3e32ecc2d 100644
--- a/games/yar/yar.SlackBuild
+++ b/games/yar/yar.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230107 bkw: BUILD=4, fix doinst.sh.
# 20211017 bkw: BUILD=3, mo' better icons.
# 20211011 bkw: BUILD=2, new-style icon
@@ -13,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yar
VERSION=${VERSION:-0.99}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}