aboutsummaryrefslogtreecommitdiff
path: root/games/yahtzee/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-11 23:31:57 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:43 +0700
commite1ae146a04df065d6f7746bc524e7bd0970266d9 (patch)
tree688982fa90571e7ed302fdf883494eb42555492c /games/yahtzee/doinst.sh
parent07bb39d7cb8bb8c9148f23b124e4401805f4bd8b (diff)
games/yahtzee: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/yahtzee/doinst.sh')
-rw-r--r--games/yahtzee/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/yahtzee/doinst.sh b/games/yahtzee/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/games/yahtzee/doinst.sh
@@ -0,0 +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