aboutsummaryrefslogtreecommitdiff
path: root/system/gnomint/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 12:10:09 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:10 -0500
commit54dd1aeaa8d71abbd0d84791996c58129cd35c29 (patch)
treea359e1639743602bd689856431f79b497eafac0b /system/gnomint/doinst.sh
parentf47b553a868f7dd710d9693d0bf2ee18906307bb (diff)
system/gnomint: Fixed (Handle mime files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/gnomint/doinst.sh')
-rw-r--r--system/gnomint/doinst.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/gnomint/doinst.sh b/system/gnomint/doinst.sh
index 7851dc4789258..bae04666ba2c8 100644
--- a/system/gnomint/doinst.sh
+++ b/system/gnomint/doinst.sh
@@ -1,5 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database &> /dev/null
+ /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 [ -x usr/bin/gconftool-2 ]; then