summaryrefslogtreecommitdiffstats
path: root/games/opentyrian/doinst.sh
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-10-26 23:43:27 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:25 +0700
commit2b6fe88c16d9044b0c718d5debd227c734d29243 (patch)
tree3e95eff3c7e8d4db05291a97ca128554e49ca2f7 /games/opentyrian/doinst.sh
parent5b4925d2522529580de4525935f6169219e046e2 (diff)
downloadslackbuilds-2b6fe88c16d9044b0c718d5debd227c734d29243.tar.gz
slackbuilds-2b6fe88c16d9044b0c718d5debd227c734d29243.tar.xz
games/opentyrian: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/opentyrian/doinst.sh')
-rw-r--r--games/opentyrian/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/opentyrian/doinst.sh b/games/opentyrian/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/opentyrian/doinst.sh
+++ b/games/opentyrian/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