aboutsummaryrefslogtreecommitdiff
path: root/academic/pcb/doinst.sh
diff options
context:
space:
mode:
authorFelix Pfeifer <pfeifer[dot]felix[at]googlemail[dot]com>2010-10-18 21:27:51 -0500
committerErik Hanson <erik@slackbuilds.org>2010-10-20 10:50:23 -0500
commit2941d0b5a58193694c997430ee59dee3479e8d1f (patch)
tree29d567abc7e7b5789842e53b0d1e61650314b73a /academic/pcb/doinst.sh
parent9f9119753fe68c18f8b5e2494222fe6d8f9f8934 (diff)
academic/pcb: Added (printed circuit board editor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/pcb/doinst.sh')
-rw-r--r--academic/pcb/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/academic/pcb/doinst.sh b/academic/pcb/doinst.sh
new file mode 100644
index 000000000000..9830478e8cc7
--- /dev/null
+++ b/academic/pcb/doinst.sh
@@ -0,0 +1,14 @@
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+