summarylogtreecommitdiffstats
path: root/teensyduino.install
diff options
context:
space:
mode:
authorNiels Martignène2015-06-10 10:08:31 +0200
committerNiels Martignène2015-06-10 10:08:31 +0200
commit5f96181cb8054a19fb7b476440ab293db0a4ea5b (patch)
tree51f927584eae0ba0bd9ed754d5cbf7bc51ec1fc1 /teensyduino.install
downloadaur-5f96181cb8054a19fb7b476440ab293db0a4ea5b.tar.gz
Initial import
Diffstat (limited to 'teensyduino.install')
-rw-r--r--teensyduino.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/teensyduino.install b/teensyduino.install
new file mode 100644
index 000000000000..b4c07efb79e5
--- /dev/null
+++ b/teensyduino.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
+}