aboutsummaryrefslogtreecommitdiff
path: root/office/keepassx/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'office/keepassx/doinst.sh')
-rw-r--r--office/keepassx/doinst.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/office/keepassx/doinst.sh b/office/keepassx/doinst.sh
index f39d8d4dfa88..e4e6459838cb 100644
--- a/office/keepassx/doinst.sh
+++ b/office/keepassx/doinst.sh
@@ -1,3 +1,8 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
+ /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
+