summaryrefslogtreecommitdiff
path: root/office/acroread/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 15:03:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 15:03:01 +0200
commit4593409b5b1f788f5fdfd6e335181f09cb10b906 (patch)
tree68f7277d59f502c2ca51075a3f761f369f5ad136 /office/acroread/doinst.sh
parent61a840db7b9cd544c2dd2317be0c819b74e110b3 (diff)
downloadslackbuilds-4593409b5b1f788f5fdfd6e335181f09cb10b906.tar.gz
office/acroread: Initial import
Diffstat (limited to 'office/acroread/doinst.sh')
-rw-r--r--office/acroread/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/office/acroread/doinst.sh b/office/acroread/doinst.sh
new file mode 100644
index 0000000000..19169f047d
--- /dev/null
+++ b/office/acroread/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