summaryrefslogtreecommitdiff
path: root/pcr/kicad-bzr/kicad.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-16 01:46:34 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-16 01:46:34 -0300
commit01041a35102946f78a22272a9ba82967cbfd16b7 (patch)
tree6afcd7bc080bb9cc88cccd75b4da7a03e1113438 /pcr/kicad-bzr/kicad.install
parente2f05e99806b7afdb2587b31ac0d6788bf9b7e34 (diff)
downloadabslibre-01041a35102946f78a22272a9ba82967cbfd16b7.tar.gz
abslibre-01041a35102946f78a22272a9ba82967cbfd16b7.tar.bz2
abslibre-01041a35102946f78a22272a9ba82967cbfd16b7.zip
kicad-bzr: add new package to [pcr] -> https://labs.parabola.nu/issues/741
Diffstat (limited to 'pcr/kicad-bzr/kicad.install')
-rw-r--r--pcr/kicad-bzr/kicad.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/kicad-bzr/kicad.install b/pcr/kicad-bzr/kicad.install
new file mode 100644
index 000000000..628d97b98
--- /dev/null
+++ b/pcr/kicad-bzr/kicad.install
@@ -0,0 +1,15 @@
+pkgname=kicad-bzr
+
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-mime-database usr/share/mime > /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}