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