summaryrefslogtreecommitdiffstats
path: root/games/supertux/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/supertux/doinst.sh')
-rw-r--r--games/supertux/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/supertux/doinst.sh b/games/supertux/doinst.sh
index 65fd352418..62aabdc4ae 100644
--- a/games/supertux/doinst.sh
+++ b/games/supertux/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
+# If other icon themes are installed, then add to or modify this as needed
+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