aboutsummaryrefslogtreecommitdiff
path: root/academic/spiceopus/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-25 00:09:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-25 00:09:05 +0700
commitfc3c3c1d8d71547bc4b7fe2cdb00de48d62ef123 (patch)
tree71c8fd15c38bce132456d02273b40864ad66dd60 /academic/spiceopus/doinst.sh
parent92ce1474751c068538eb9bba1a1c1b5e1d50ec47 (diff)
academic/spiceopus: Added (circuit simulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/spiceopus/doinst.sh')
-rw-r--r--academic/spiceopus/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/spiceopus/doinst.sh b/academic/spiceopus/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/academic/spiceopus/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