aboutsummaryrefslogtreecommitdiff
path: root/academic/smath-studio/doinst.sh
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2011-08-10 08:51:52 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-10 08:51:52 -0300
commitd3f5c7ec20fc36afaf9628753caa8ab9b93f5d96 (patch)
treea59409982f22ba3377cb1936dfba5f0b6ec53207 /academic/smath-studio/doinst.sh
parent85a01f18f360b659070193b7ecd2ba50f621eb6d (diff)
academic/smath-studio: Added (computer algebra system)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/smath-studio/doinst.sh')
-rw-r--r--academic/smath-studio/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/academic/smath-studio/doinst.sh b/academic/smath-studio/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/academic/smath-studio/doinst.sh
@@ -0,0 +1,10 @@
+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
+