summaryrefslogtreecommitdiff
path: root/community/stlink/stlink.install
blob: c1dec8388a8f56b73e78312fd86bef1d8e622ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}