summaryrefslogtreecommitdiffstats
path: root/office/keepassx/doinst.sh
diff options
context:
space:
mode:
author fdeak2010-05-13 00:39:16 +0200
committer Robby Workman2010-05-13 00:39:16 +0200
commit4b22b73ef385529304ab90d7ebe42c27e4fc0000 (patch)
tree137e639588923df615b59e893c27881973982779 /office/keepassx/doinst.sh
parent564acca38a6a24e8b3233e98accdc21ad6c18a93 (diff)
downloadslackbuilds-4b22b73ef385529304ab90d7ebe42c27e4fc0000.tar.gz
office/keepassx: Updated for version 0.4.1
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 f39d8d4dfa..e4e6459838 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
+