summaryrefslogtreecommitdiff
path: root/games/nexuiz/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/nexuiz/doinst.sh')
-rw-r--r--games/nexuiz/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/nexuiz/doinst.sh b/games/nexuiz/doinst.sh
index 800ab3f267..800056659f 100644
--- a/games/nexuiz/doinst.sh
+++ b/games/nexuiz/doinst.sh
@@ -2,6 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
./usr/bin/update-desktop-database -q usr/share/applications
fi
-if [ -x /usr/bin/update-mime-database ]; then
- ./usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+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
+