summaryrefslogtreecommitdiff
path: root/games/chocolate-doom/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/chocolate-doom/doinst.sh')
-rw-r--r--games/chocolate-doom/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/chocolate-doom/doinst.sh b/games/chocolate-doom/doinst.sh
index 696d35bad7..bd8f3bab51 100644
--- a/games/chocolate-doom/doinst.sh
+++ b/games/chocolate-doom/doinst.sh
@@ -2,3 +2,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
+