diff options
author | B. Watson <yalhcru@gmail.com> | 2010-04-21 19:02:27 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-15 10:38:36 +0200 |
commit | 7822487158a1efc722eea6f2340747826c3bea11 (patch) | |
tree | fea511971b572d4efc829e6f8110b5b677cb26a4 /games/nexuiz/doinst.sh | |
parent | eaacd2c2b6e00ec250d0fba3d0b137aa8acbe392 (diff) | |
download | slackbuilds-7822487158a1efc722eea6f2340747826c3bea11.tar.gz |
games/nexuiz: Updated for version 2.5.2.
Diffstat (limited to 'games/nexuiz/doinst.sh')
-rw-r--r-- | games/nexuiz/doinst.sh | 7 |
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 + |