summarylogtreecommitdiffstats
path: root/arduino.install
diff options
context:
space:
mode:
Diffstat (limited to 'arduino.install')
-rw-r--r--arduino.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/arduino.install b/arduino.install
new file mode 100644
index 000000000000..b4c07efb79e5
--- /dev/null
+++ b/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
+}