summaryrefslogtreecommitdiff
path: root/games/wesnoth/doinst.sh
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2018-08-08 22:26:30 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:08 +0700
commitf5f2355550e08c744473f0fbb97a70c47518fe88 (patch)
tree3d057d52e7eb0a6bd775b7bd563e5e69d1f42492 /games/wesnoth/doinst.sh
parentc6261db623900a26455aaf6a817f28724b5f1dd0 (diff)
downloadslackbuilds-f5f2355550e08c744473f0fbb97a70c47518fe88.tar.gz
games/wesnoth: Updated for version 1.14.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/wesnoth/doinst.sh')
-rw-r--r--games/wesnoth/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/wesnoth/doinst.sh b/games/wesnoth/doinst.sh
index 0dfdc8b1c6..7d4bc766b4 100644
--- a/games/wesnoth/doinst.sh
+++ b/games/wesnoth/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