summaryrefslogtreecommitdiff
path: root/community/stlink/stlink.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-22 03:50:02 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-22 03:50:02 +0000
commitd681aef185938981d5b5eb582d09fbc49927cf24 (patch)
treeadbebafcefcedb7b35b765eb8bc451eac8482d32 /community/stlink/stlink.install
parent96cf9235f114b8d960c16a8625937b16979ae1aa (diff)
Sat Feb 22 03:44:10 UTC 2014
Diffstat (limited to 'community/stlink/stlink.install')
-rw-r--r--community/stlink/stlink.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/stlink/stlink.install b/community/stlink/stlink.install
new file mode 100644
index 000000000..c1dec8388
--- /dev/null
+++ b/community/stlink/stlink.install
@@ -0,0 +1,23 @@
+msg() {
+# modprobe -r usb-storage && modprobe usb-storage
+ udevadm control --reload-rules
+ echo "You may have to reload the usb-storage module."
+ echo "To do this use"
+ echo " modprobe -r usb-storage && modprobe usb-storage"
+}
+
+# arg 1: the new package version
+post_install() {
+ msg
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ msg
+}
+
+# arg 1: the old package version
+post_remove() {
+ msg
+}