summaryrefslogtreecommitdiff
path: root/pcr/arduino/arduino.install
diff options
context:
space:
mode:
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
+}