summaryrefslogtreecommitdiffstats
path: root/games/icebreaker/doinst.sh
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-10-19 19:03:00 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:17 +0700
commit1b6e665695dc7774081e3dd8197f87e28bba8a9a (patch)
tree57b2720efe07c2a10cdcad0337a97bfa420a8b7b /games/icebreaker/doinst.sh
parent4ac1f9d389eb4d7bcefbe00bf17bbb8182afaa69 (diff)
downloadslackbuilds-1b6e665695dc7774081e3dd8197f87e28bba8a9a.tar.gz
slackbuilds-1b6e665695dc7774081e3dd8197f87e28bba8a9a.tar.xz
games/icebreaker: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/icebreaker/doinst.sh')
-rw-r--r--games/icebreaker/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/icebreaker/doinst.sh b/games/icebreaker/doinst.sh
index 3857649f50..11813c3101 100644
--- a/games/icebreaker/doinst.sh
+++ b/games/icebreaker/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
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