diff options
Diffstat (limited to 'pcr/arduino/arduino.install')
-rw-r--r-- | pcr/arduino/arduino.install | 16 |
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: |