summaryrefslogtreecommitdiffstats
path: root/games/xspacewarp/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/xspacewarp/doinst.sh')
-rw-r--r--games/xspacewarp/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/xspacewarp/doinst.sh b/games/xspacewarp/doinst.sh
index 1015d8fd4d..519aaca034 100644
--- a/games/xspacewarp/doinst.sh
+++ b/games/xspacewarp/doinst.sh
@@ -16,3 +16,9 @@ config etc/X11/app-defaults/XSpacewarp.new
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