summaryrefslogtreecommitdiff
path: root/pcr/arduino/arduino.install
diff options
context:
space:
mode:
authorAurelien Desbrieres <aurelien@hackers.camp>2015-03-08 12:03:49 +0100
committerAurelien Desbrieres <aurelien@hackers.camp>2015-03-08 12:03:49 +0100
commit978a2503d46c9a272ee3ac6243f3461e9ba64377 (patch)
tree9e47160fb65c85b7bd0b194fbe090ca5bb7371f3 /pcr/arduino/arduino.install
parent98933d98a96b23fbd9e0a64d8819263dfb3350fd (diff)
downloadabslibre-978a2503d46c9a272ee3ac6243f3461e9ba64377.tar.gz
abslibre-978a2503d46c9a272ee3ac6243f3461e9ba64377.tar.bz2
abslibre-978a2503d46c9a272ee3ac6243f3461e9ba64377.zip
arduino prototyping platform sdk
Diffstat (limited to 'pcr/arduino/arduino.install')
-rw-r--r--pcr/arduino/arduino.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/arduino/arduino.install b/pcr/arduino/arduino.install
new file mode 100644
index 000000000..b4c07efb7
--- /dev/null
+++ b/pcr/arduino/arduino.install
@@ -0,0 +1,15 @@
+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)"
+}
+
+post_remove() {
+ post_upgrade
+}