aboutsummaryrefslogtreecommitdiff
path: root/academic/pspp/doinst.sh
diff options
context:
space:
mode:
authorVitor Borrego <vitor@bitarus.allowed.org>2014-01-20 00:43:03 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:07 -0600
commit03172f817bb8da51d64553a0fbc5997313ec151c (patch)
treef9f663b6b14bf6a6228e5549fd9e5cb98ee0ec22 /academic/pspp/doinst.sh
parente0b3496e2bc365f18df0ba5b80e75a9423f4378f (diff)
academic/pspp: Added (Free open source replacement of SPSS).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/pspp/doinst.sh')
-rw-r--r--academic/pspp/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/academic/pspp/doinst.sh b/academic/pspp/doinst.sh
new file mode 100644
index 000000000000..e4e6459838cb
--- /dev/null
+++ b/academic/pspp/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
+