aboutsummaryrefslogtreecommitdiff
path: root/office/grisbi/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 11:36:14 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:08 -0500
commited051e96de6e4dffcdecb86dfc5f99dfdd3325de (patch)
tree2bea396d279d0b44f6a557ad916ba8bd5e50129f /office/grisbi/doinst.sh
parentd1d03a922d319688f36756bf942d475e9072bc55 (diff)
office/grisbi: Fixed (Handle mime files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/grisbi/doinst.sh')
-rw-r--r--office/grisbi/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/office/grisbi/doinst.sh b/office/grisbi/doinst.sh
index 3e5691a052b5..9424ce43ff57 100644
--- a/office/grisbi/doinst.sh
+++ b/office/grisbi/doinst.sh
@@ -2,6 +2,10 @@ 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
+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