summaryrefslogtreecommitdiff
path: root/games/freeciv/doinst.sh
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-02-20 23:48:27 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-28 09:42:07 -0600
commit8f1a8f4fcbf956eb48b8642ef0048a41a9cd31f8 (patch)
tree097e84fa78412f639588a7ae85402c2c15589822 /games/freeciv/doinst.sh
parent91058dff61b854186bf35422960172306d446c60 (diff)
downloadslackbuilds-8f1a8f4fcbf956eb48b8642ef0048a41a9cd31f8.tar.gz
games/freeciv: Updated for version 2.2.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/freeciv/doinst.sh')
-rw-r--r--games/freeciv/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/freeciv/doinst.sh b/games/freeciv/doinst.sh
index 392c12adb9..86cad8c1a4 100644
--- a/games/freeciv/doinst.sh
+++ b/games/freeciv/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
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
+