summaryrefslogtreecommitdiff
path: root/community/stlink/stlink.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-23 16:15:08 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-23 16:15:08 -0300
commit44ae571c1d57a21af2c915b42bb656cf0d69c9ee (patch)
tree757e53f443e27a95d1b1b0cdf337c2147953fc46 /community/stlink/stlink.install
parenteadbb9961b89668e4aed317f5dd97cb04e86663e (diff)
parent1d20e4962664ab152948a14b4320b12204a1053e (diff)
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts: community/libftdi/PKGBUILD community/lxshortcut/PKGBUILD community/pcmanfm/PKGBUILD community/qingy/PKGBUILD community/yagf/PKGBUILD extra/ethtool/PKGBUILD extra/gptfdisk/PKGBUILD extra/postgresql/PKGBUILD extra/xfburn/PKGBUILD libre/linux-libre/PKGBUILD
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
+}