summaryrefslogtreecommitdiff
path: root/pcr/arduino/arduino.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-14 00:50:08 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-14 00:50:08 -0500
commit79e88b0afb93ad661326ecfc1516441d86e6649f (patch)
treed208a171bf0196d236e87d2d364c783faa1962ef /pcr/arduino/arduino.install
parent303d67b92ac6f56cb556fab0b09ff2eb07c130b7 (diff)
downloadabslibre-79e88b0afb93ad661326ecfc1516441d86e6649f.tar.gz
abslibre-79e88b0afb93ad661326ecfc1516441d86e6649f.tar.bz2
abslibre-79e88b0afb93ad661326ecfc1516441d86e6649f.zip
arduino-1:1.6.8-1.parabola1: updating version
Diffstat (limited to 'pcr/arduino/arduino.install')
-rw-r--r--pcr/arduino/arduino.install16
1 files changed, 5 insertions, 11 deletions
diff --git a/pcr/arduino/arduino.install b/pcr/arduino/arduino.install
index b4c07efb7..c222e1b6d 100644
--- a/pcr/arduino/arduino.install
+++ b/pcr/arduino/arduino.install
@@ -1,15 +1,9 @@
-post_upgrade() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-desktop-database -q
- update-mime-database /usr/share/mime >/dev/null
-}
-
post_install() {
- post_upgrade
-
- echo "Don't forget to add yourself to the uucp and lock groups: gpasswd -a <user> uucp && gpasswd -a <user> lock (execute as root)"
+ xdg-icon-resource install --size 256 --novendor /usr/share/pixmaps/arduino.png
}
-post_remove() {
- post_upgrade
+pre_remove() {
+ xdg-icon-resource uninstall --size 256 arduino
}
+
+# vim:set ts=2 sw=2 et: