summaryrefslogtreecommitdiff
path: root/academic/tkgate/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-21 19:27:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-21 19:28:03 +0700
commit089eb33b58f8fd74c85d4c3b5b1e6f91544cbdf9 (patch)
treeb77f36e04063e27fada2319fe58322ea25550b03 /academic/tkgate/doinst.sh
parentf41d295c6ecd25f258bd348dd9836f858a30e16f (diff)
downloadslackbuilds-089eb33b58f8fd74c85d4c3b5b1e6f91544cbdf9.tar.gz
academic/tkgate: Added (An event driven digital circuit simulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/tkgate/doinst.sh')
-rw-r--r--academic/tkgate/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/tkgate/doinst.sh b/academic/tkgate/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/tkgate/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