summaryrefslogtreecommitdiff
path: root/academic/drawtiming/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-22 11:18:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-22 11:18:20 +0700
commit8970decff9f6dd0877e845c9af5678770454bbab (patch)
treecdf732a84ab2b1f737c42dee8f718841e73e7a23 /academic/drawtiming/doinst.sh
parent7d6d52860e05bec0426c3e499053c5144704ddf3 (diff)
downloadslackbuilds-8970decff9f6dd0877e845c9af5678770454bbab.tar.gz
academic/drawtiming: Added (tool for drawing timing diagrams).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/drawtiming/doinst.sh')
-rw-r--r--academic/drawtiming/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/drawtiming/doinst.sh b/academic/drawtiming/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/drawtiming/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