summarylogtreecommitdiffstats
path: root/hook.upgrade
blob: 1d063288f64667238abb5316684cb263bc3fc012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Trigger]
Operation = Upgrade
Type = Path
Target = usr/src/*/dkms.conf
Target = usr/lib/modules/*/build/include/
Target = usr/lib/modules/*/modules.order

[Action]
Description = Remove upgraded DKMS modules
Depends = dkms
When = PreTransaction
Exec = /usr/share/libalpm/scripts/dkms -D remove
NeedsTargets