summaryrefslogtreecommitdiff
path: root/academic/gretl/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-04 05:59:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-04 05:59:27 +0700
commit9c5b70f3f142a9b0789e2660dc77ae83061e7e09 (patch)
tree673d889b35867467e20880889d10b59b16459d67 /academic/gretl/doinst.sh
parent1c9630396a80726691a572adccb24b1612ff2c43 (diff)
downloadslackbuilds-9c5b70f3f142a9b0789e2660dc77ae83061e7e09.tar.gz
academic/gretl: Added (Econometric Analysis Software).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/gretl/doinst.sh')
-rw-r--r--academic/gretl/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/gretl/doinst.sh b/academic/gretl/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/gretl/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi