aboutsummaryrefslogtreecommitdiff
path: root/office/keepassx/doinst.sh
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-21 23:20:16 -0400
committerChess Griffin <chess@chessgriffin.com>2010-05-23 23:11:19 -0500
commite2ab4a02b74535111a9cda16ea557dd6b49545e8 (patch)
treefce373cf6c5017e04a4a1346a8ef7f436f13c22c /office/keepassx/doinst.sh
parentbff1d0ce570cbbac28618ac491bcdf4323c517de (diff)
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 0000000000000..e4e6459838cbf
--- /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
+