blob: 7e5d21164f7fbaa293dd67ba52b4bdfc2fb2ec9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
dkms install mcp2210-git/${1%%-*}
}
pre_upgrade() {
pre_remove ${2%%-*}
}
post_upgrade() {
post_install ${1%%-*}
}
pre_remove() {
dkms remove mcp2210-git/${1%%-*} --all
}
|