summaryrefslogtreecommitdiff
path: root/games/OpenXcom/doinst.sh
diff options
context:
space:
mode:
authorDominik Drobek <dominik.drobek@o2.pl>2018-02-27 07:29:00 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-03 08:42:07 +0700
commite981901c0585cd6fd04145392dbe1c8919fd8e64 (patch)
treea3c3c509fe349855351bcf17cc0702b6e4acb374 /games/OpenXcom/doinst.sh
parent0beeb922e32cce9dc5cf2ba13de41d4b990aa16b (diff)
downloadslackbuilds-e981901c0585cd6fd04145392dbe1c8919fd8e64.tar.gz
games/OpenXcom: Updated for version 20180217_1352.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/OpenXcom/doinst.sh')
-rw-r--r--games/OpenXcom/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/OpenXcom/doinst.sh b/games/OpenXcom/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/games/OpenXcom/doinst.sh
+++ b/games/OpenXcom/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