summaryrefslogtreecommitdiff
path: root/office/qamus/doinst.sh
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2011-07-10 09:26:16 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 19:51:00 -0300
commit9a4660332e3a555e52672fce457cb9ec1afc2d40 (patch)
tree42d1e20cf9d280285ce063cedeaefbbac9f5b03a /office/qamus/doinst.sh
parent26bc370ad6a6e5cc9f8fa3952ca14300318291a8 (diff)
downloadslackbuilds-9a4660332e3a555e52672fce457cb9ec1afc2d40.tar.gz
office/qamus: Added (desktop dictionary)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/qamus/doinst.sh')
-rw-r--r--office/qamus/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/office/qamus/doinst.sh b/office/qamus/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/office/qamus/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