summaryrefslogtreecommitdiff
path: root/system/gnomint/doinst.sh
diff options
context:
space:
mode:
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 7851dc4789..bae04666ba 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