summaryrefslogtreecommitdiff
path: root/games/mari0/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-21 04:13:25 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:21 +0700
commit2a8fcf4364958f4cc0fbdda841848780cf5bbe27 (patch)
tree8b84e57c5455f7e10e9bc420baa9251a316688e7 /games/mari0/doinst.sh
parent588cbe19885595689cc1dc8e3e8100a7477880f3 (diff)
downloadslackbuilds-2a8fcf4364958f4cc0fbdda841848780cf5bbe27.tar.gz
games/mari0: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mari0/doinst.sh')
-rw-r--r--games/mari0/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/mari0/doinst.sh b/games/mari0/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/mari0/doinst.sh
+++ b/games/mari0/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