summaryrefslogtreecommitdiff
path: root/games/nexuiz/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-04-21 19:02:27 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:38:36 +0200
commit7822487158a1efc722eea6f2340747826c3bea11 (patch)
treefea511971b572d4efc829e6f8110b5b677cb26a4 /games/nexuiz/doinst.sh
parenteaacd2c2b6e00ec250d0fba3d0b137aa8acbe392 (diff)
downloadslackbuilds-7822487158a1efc722eea6f2340747826c3bea11.tar.gz
games/nexuiz: Updated for version 2.5.2.
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
+