aboutsummaryrefslogtreecommitdiff
path: root/games/freedroidrpg/doinst.sh
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2017-09-14 17:46:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-16 07:15:08 +0700
commitc367369f93e6e40094622f949437e8f95a50a353 (patch)
treebc9448d5ed792a6d6c1a6e687a1d131fa0cdda85 /games/freedroidrpg/doinst.sh
parentf718eacedf6e85b3900d56557040f0caca8e79f5 (diff)
games/freedroidrpg: Updated for version 0.16.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/freedroidrpg/doinst.sh')
-rw-r--r--games/freedroidrpg/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/freedroidrpg/doinst.sh b/games/freedroidrpg/doinst.sh
index 5013ef6d40f8..44cc9071aaa4 100644
--- a/games/freedroidrpg/doinst.sh
+++ b/games/freedroidrpg/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi