aboutsummaryrefslogtreecommitdiff
path: root/office/calibre/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-12 23:32:59 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:32:59 +0200
commit3c0d0ed10fd9d54954c21c24951aafbc00c11e0a (patch)
tree5bde069b5347a3ef5cacc9f1e34310814b0b091f /office/calibre/doinst.sh
parent2434206fd0ba430516f5bf6f5a8755438f5d3022 (diff)
office/calibre: Added to 12.2 repository
Diffstat (limited to 'office/calibre/doinst.sh')
-rw-r--r--office/calibre/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/office/calibre/doinst.sh b/office/calibre/doinst.sh
new file mode 100644
index 0000000000000..e4e6459838cbf
--- /dev/null
+++ b/office/calibre/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
+