summaryrefslogtreecommitdiff
path: root/academic/GeoGebra/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-07 07:50:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-12 06:51:39 +0700
commit1f19afe610ab65a5b1d6f5d4a62974b2b99b1f9f (patch)
treeddffa149dbd361292f5da1dc0f2bcefc28a99e5a /academic/GeoGebra/doinst.sh
parenta82da8ced9432560d62d0d11fc101d6a516fe36d (diff)
downloadslackbuilds-1f19afe610ab65a5b1d6f5d4a62974b2b99b1f9f.tar.gz
academic/GeoGebra: Added (A free software for teaching mathematics).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/GeoGebra/doinst.sh')
-rw-r--r--academic/GeoGebra/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/GeoGebra/doinst.sh b/academic/GeoGebra/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/GeoGebra/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