repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
dkms-bbswitch
/
dkms-bbswitch.install
blob
5472d38af1dd8a1006b55c35d71e5f15bfee3461
1
PKGVER="$(ls /usr/src/ | grep bbswitch | sed 's/^.*-//')"
2
3
post_install() {
4
dkms add -m "bbswitch/${PKGVER}"
5
dkms build -m "bbswitch/${PKGVER}"
6
dkms install -m "bbswitch/${PKGVER}"
7
depmod -a
8
}
9
10
post_upgrade() {
11
post_install
12
}
13
14
pre_remove() {
15
dkms remove -m "bbswitch/${PKGVER}" --all
16
}
17
18
pre_upgrade() {
19
pre_remove
20
}
21
22
post_remove() {
23
depmod -a
24
}