summaryrefslogtreecommitdiff
path: root/games/vcmi/doinst.sh
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2016-11-27 16:50:20 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-03 07:17:45 +0700
commitb9d3a3ba7eba15efa9df6d7fcaa447c14fe200f8 (patch)
tree6f7e1c8ffab7d9dbfe920da86bea09cbdbdf43b0 /games/vcmi/doinst.sh
parent551941e398b66addefc54988f0c309e0dbf98327 (diff)
downloadslackbuilds-b9d3a3ba7eba15efa9df6d7fcaa447c14fe200f8.tar.gz
games/vcmi: Updated for version 0.99.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/vcmi/doinst.sh')
-rw-r--r--games/vcmi/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/vcmi/doinst.sh b/games/vcmi/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/vcmi/doinst.sh
+++ b/games/vcmi/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