summaryrefslogtreecommitdiff
path: root/academic/QtiPlot/doinst.sh
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-10-20 00:02:09 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-21 15:59:18 -0200
commit56863f1f4ffcd12a918904d4faaa63271c1b4a8f (patch)
treeb3c9ddeabd27a1840a8f5e3a0a417d74c1c8b7f3 /academic/QtiPlot/doinst.sh
parent5327d32896781d21b2bfcafd262edf3378e54554 (diff)
downloadslackbuilds-56863f1f4ffcd12a918904d4faaa63271c1b4a8f.tar.gz
academic/QtiPlot: Added (Data Analysis and Visualisation)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/QtiPlot/doinst.sh')
-rw-r--r--academic/QtiPlot/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/academic/QtiPlot/doinst.sh b/academic/QtiPlot/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/academic/QtiPlot/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