aboutsummaryrefslogtreecommitdiff
path: root/academic/gerbv/doinst.sh
diff options
context:
space:
mode:
authorFelix Pfeifer <pfeifer[dot]felix[at]googlemail[dot]com>2010-10-24 21:56:30 -0400
committerErik Hanson <erik@slackbuilds.org>2010-10-25 07:55:09 -0500
commitb930a31961ef4b53deced2f6a9d1821e69ff8e58 (patch)
tree569cae42b101e11b777911725954745e5c533b07 /academic/gerbv/doinst.sh
parente47d9ac0f7d5e897833f9a06f441c3087a212bd5 (diff)
academic/gerbv: Added (viewer for Gerber RS-274X files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/gerbv/doinst.sh')
-rw-r--r--academic/gerbv/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/academic/gerbv/doinst.sh b/academic/gerbv/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/academic/gerbv/doinst.sh
@@ -0,0 +1,10 @@
+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
+