summaryrefslogtreecommitdiff
path: root/office/grisbi/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-06-15 01:44:44 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-15 01:44:44 -0500
commit774b75d2f603e065d1d38e9e1af39750e5b376ed (patch)
tree74f34e90666e1a56a5c4bd91c39fdef27715969a /office/grisbi/doinst.sh
parente811bf0adf40f4f711bc7dced51b7688dc68afc8 (diff)
downloadslackbuilds-774b75d2f603e065d1d38e9e1af39750e5b376ed.tar.gz
office/grisbi: Updated for version 0.6.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/grisbi/doinst.sh')
-rw-r--r--office/grisbi/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/office/grisbi/doinst.sh b/office/grisbi/doinst.sh
index 9a8ded3c60..1f8ff67ded 100644
--- a/office/grisbi/doinst.sh
+++ b/office/grisbi/doinst.sh
@@ -2,6 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
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
+