summaryrefslogtreecommitdiffstats
path: root/games/jezzball-kazzmir/doinst.sh
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-10-19 18:36:19 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:16 +0700
commit24d27c9175b02474d70c9b145f4bf2d5a4834877 (patch)
treecbf318c37fa62ecb738e209e7335a8edef2dfac3 /games/jezzball-kazzmir/doinst.sh
parent817876646be5a705915fd2895ae8a27203084329 (diff)
downloadslackbuilds-24d27c9175b02474d70c9b145f4bf2d5a4834877.tar.gz
slackbuilds-24d27c9175b02474d70c9b145f4bf2d5a4834877.tar.xz
games/jezzball-kazzmir: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/jezzball-kazzmir/doinst.sh')
-rw-r--r--games/jezzball-kazzmir/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/jezzball-kazzmir/doinst.sh b/games/jezzball-kazzmir/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/jezzball-kazzmir/doinst.sh
+++ b/games/jezzball-kazzmir/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