From 7822487158a1efc722eea6f2340747826c3bea11 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 21 Apr 2010 19:02:27 -0400 Subject: games/nexuiz: Updated for version 2.5.2. --- games/nexuiz/doinst.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'games/nexuiz/doinst.sh') diff --git a/games/nexuiz/doinst.sh b/games/nexuiz/doinst.sh index 800ab3f267c8..800056659f9e 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 + -- cgit v1.2.3