summaryrefslogtreecommitdiff
path: root/pcr/gnoduino/gnoduino.install
diff options
context:
space:
mode:
authorAurelien Desbrieres <aurelien@hackers.camp>2014-12-24 08:47:01 +0100
committerAurelien Desbrieres <aurelien@hackers.camp>2014-12-24 08:47:01 +0100
commitc91c5e5ebf2206fc48072184652671fc52b7c828 (patch)
treeac52e6e39d884141e1720e9f26197fac29c06311 /pcr/gnoduino/gnoduino.install
parent3bd93335b33fa5583bca70cd3124b4aeaa42b138 (diff)
parentf723263fa6daa1d85cf2993c9c1baf04138d7fc3 (diff)
downloadabslibre-c91c5e5ebf2206fc48072184652671fc52b7c828.tar.gz
abslibre-c91c5e5ebf2206fc48072184652671fc52b7c828.tar.bz2
abslibre-c91c5e5ebf2206fc48072184652671fc52b7c828.zip
gnoduino updated
Diffstat (limited to 'pcr/gnoduino/gnoduino.install')
-rw-r--r--pcr/gnoduino/gnoduino.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/gnoduino/gnoduino.install b/pcr/gnoduino/gnoduino.install
new file mode 100644
index 000000000..fd110bee7
--- /dev/null
+++ b/pcr/gnoduino/gnoduino.install
@@ -0,0 +1,23 @@
+pkgname=gnoduino
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ post_remove
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}