diff options
Diffstat (limited to 'community/stlink/stlink.install')
-rw-r--r-- | community/stlink/stlink.install | 23 |
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 +} |