summarylogtreecommitdiffstats
path: root/rtbth-dkms.install
blob: 0134e16dea67a2d190e469a8ac0fec998eb2d955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

post_install() {
  dkms install -m rtbth/${1%-*}
}

pre_upgrade() {
  pre_remove ${2}
}

post_upgrade() {
  post_install ${1}
}

pre_remove() {
  dkms remove -m rtbth/${1%-*} --all
}