summaryrefslogtreecommitdiffstats
path: root/office/keepassx/doinst.sh
diff options
context:
space:
mode:
author Chess Griffin2010-05-22 05:20:16 +0200
committer Chess Griffin2010-05-24 06:11:19 +0200
commite2ab4a02b74535111a9cda16ea557dd6b49545e8 (patch)
treefce373cf6c5017e04a4a1346a8ef7f436f13c22c /office/keepassx/doinst.sh
parentbff1d0ce570cbbac28618ac491bcdf4323c517de (diff)
downloadslackbuilds-e2ab4a02b74535111a9cda16ea557dd6b49545e8.tar.gz
Revert "office/keepassx: Removed (build failure)"
This reverts commit 311017a4161806a00cffc8b473ac3990f37ee550. Update to version 0.4.3 which builds on -current; miscellaneous script cleanup.
Diffstat (limited to 'office/keepassx/doinst.sh')
-rw-r--r--office/keepassx/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/office/keepassx/doinst.sh b/office/keepassx/doinst.sh
new file mode 100644
index 0000000000..e4e6459838
--- /dev/null
+++ b/office/keepassx/doinst.sh
@@ -0,0 +1,8 @@
+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
+