summaryrefslogtreecommitdiff
path: root/academic/gnucap/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-11 08:17:59 -0500
committerErik Hanson <erik@slackbuilds.org>2014-06-11 08:17:59 -0500
commit7016168487342453f814a6a2d1920a6feb70e673 (patch)
tree5998192a53c4d579d8d2086454285ea5e9205345 /academic/gnucap/doinst.sh
parent66c45e494f10598a817800ff20b7bd2967a63ff8 (diff)
downloadslackbuilds-7016168487342453f814a6a2d1920a6feb70e673.tar.gz
academic/gnucap: Added (A modern analog and mixed signal circuit simulator)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'academic/gnucap/doinst.sh')
-rw-r--r--academic/gnucap/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/gnucap/doinst.sh b/academic/gnucap/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/gnucap/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