summaryrefslogtreecommitdiff
path: root/academic/ngspice/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2017-11-23 17:27:05 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-23 17:27:05 +0000
commitba3a2f58426b49a6ff50d7326b5417eaea30e692 (patch)
treeff51b6378f0a17ba12647e35a593ddfcdfbe8be5 /academic/ngspice/doinst.sh
parentdcf75c41752f8d6128e377af7268b142130588c2 (diff)
downloadslackbuilds-ba3a2f58426b49a6ff50d7326b5417eaea30e692.tar.gz
academic/ngspice: Updated for version 27.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/ngspice/doinst.sh')
-rw-r--r--academic/ngspice/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/academic/ngspice/doinst.sh b/academic/ngspice/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/academic/ngspice/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi