summaryrefslogtreecommitdiff
path: root/office/zim/doinst.sh
diff options
context:
space:
mode:
authorMichael Ren <micron33@gmail.com>2013-12-27 17:38:39 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:57 -0600
commitf68be21719b6a94a1cd8242e495094354cadc7f0 (patch)
tree04698d293798697978b20f6778fc0e6339f35638 /office/zim/doinst.sh
parent2886e1e7445463330f2127b1d6d028385dd73d3e (diff)
downloadslackbuilds-f68be21719b6a94a1cd8242e495094354cadc7f0.tar.gz
office/zim: Added (Desktop wiki editor).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/zim/doinst.sh')
-rw-r--r--office/zim/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/office/zim/doinst.sh b/office/zim/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/office/zim/doinst.sh
@@ -0,0 +1,7 @@
+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