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