summaryrefslogtreecommitdiff
path: root/games/starfighter/doinst.sh
diff options
context:
space:
mode:
authorTim Dickson (timsoft) <tim@tree-of-life.co.uk>2010-05-13 00:27:11 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:27:11 +0200
commit0eefec5a54e21839235443924de47a8d9b877dbe (patch)
treef7d64d30a9f4d8dc96225cd8901861750806650a /games/starfighter/doinst.sh
parenta182ecaae4d7778fdda091c23cac5e7e2fc1ff6e (diff)
downloadslackbuilds-0eefec5a54e21839235443924de47a8d9b877dbe.tar.gz
games/starfighter: Updated for version 1.1
Diffstat (limited to 'games/starfighter/doinst.sh')
-rw-r--r--games/starfighter/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/starfighter/doinst.sh b/games/starfighter/doinst.sh
index 5fb28930db..1f8ff67ded 100644
--- a/games/starfighter/doinst.sh
+++ b/games/starfighter/doinst.sh
@@ -1,3 +1,10 @@
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
+