summaryrefslogtreecommitdiff
path: root/academic/tilem2/doinst.sh
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2013-01-13 15:38:56 +0100
committerdsomero <xgizzmo@slackbuilds.org>2013-01-20 09:03:04 -0500
commitf757ebccbd9750755be813c8a1646540ed929fb1 (patch)
treee5c3a0152b5508640e6fa6cf0ee49fca2a6c790e /academic/tilem2/doinst.sh
parent23af0556d2e0b2e1484e638f2c03b28024b1962f (diff)
downloadslackbuilds-f757ebccbd9750755be813c8a1646540ed929fb1.tar.gz
academic/tilem2: Added (TI-calculator emulator for linux).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/tilem2/doinst.sh')
-rw-r--r--academic/tilem2/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/tilem2/doinst.sh b/academic/tilem2/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/tilem2/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