aboutsummaryrefslogtreecommitdiff
path: root/office/homebank/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:44:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:44:44 +0200
commit8f73ed774cfcdcc276f59591a289558075ab97f4 (patch)
tree24c2b5e539f95a9080b60f2ca01f4a98572b969b /office/homebank/doinst.sh
parent3548fef2787fd4fa0ce1f3180b2852fee53d1e01 (diff)
office/homebank: Updated for version 4.0.4
Diffstat (limited to 'office/homebank/doinst.sh')
-rw-r--r--office/homebank/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/office/homebank/doinst.sh b/office/homebank/doinst.sh
index 3857649f506a8..3bea8b35fa65a 100644
--- a/office/homebank/doinst.sh
+++ b/office/homebank/doinst.sh
@@ -1,3 +1,14 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
+fi
+
+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
+