summarylogtreecommitdiffstats
path: root/new-lg4ff-dkms-git.install
blob: c743d36b57b36c56edd686b4c6dfd1359548a078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support
# https://git.archlinux.org/pacman.git/plain/proto/proto.install

post_install() {
  dkms install -m new-lg4ff -v ${1%%-*}
}

pre_upgrade() {
  pre_remove ${2%%-*}
}

post_upgrade() {
  post_install ${1%%-*}
}

pre_remove() {
  dkms remove -m new-lg4ff -v ${1%%-*} --all
}