aboutsummaryrefslogtreecommitdiff
path: root/games/openyahtzee/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-21 02:53:52 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:21 +0700
commit10d922d1345adc801616b4d2c046da1ab92a5db3 (patch)
treea69cd7e04f82120b516aa0b0a41b92552eb24059 /games/openyahtzee/doinst.sh
parentc8ef264878c22a46bef00b22f3c2b137a341b79f (diff)
games/openyahtzee: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/openyahtzee/doinst.sh')
-rw-r--r--games/openyahtzee/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/openyahtzee/doinst.sh b/games/openyahtzee/doinst.sh
index 5fb28930db0b..3e5691a052b5 100644
--- a/games/openyahtzee/doinst.sh
+++ b/games/openyahtzee/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