summaryrefslogtreecommitdiff
path: root/academic/xdrawchem/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 13:59:51 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 13:59:51 +0200
commit10f4d138b08d5fa28fb5d7d602adb586c83afe7f (patch)
treec91d35b69f5d9b6ee7a8fd977ec5f09e331f96d0 /academic/xdrawchem/doinst.sh
parent7158e9e75ac46ccc923a9cf285ebf94900993200 (diff)
downloadslackbuilds-10f4d138b08d5fa28fb5d7d602adb586c83afe7f.tar.gz
academic/xdrawchem: Initial import
Diffstat (limited to 'academic/xdrawchem/doinst.sh')
-rw-r--r--academic/xdrawchem/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/xdrawchem/doinst.sh b/academic/xdrawchem/doinst.sh
new file mode 100644
index 0000000000..7f257cf9de
--- /dev/null
+++ b/academic/xdrawchem/doinst.sh
@@ -0,0 +1,9 @@
+
+if [ -x usr/bin/update-desktop-database ]; then
+ ./usr/bin/update-desktop-database ./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
+