archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dkms / repos / extra-any / hook.upgrade
blob46d4d42c049c33c532813d06f590029f3bb9485b
1 [Trigger]
2 Operation = Upgrade
3 Type = Path
4 Target = usr/src/*/dkms.conf
5 Target = usr/lib/modules/*/build/include/
6 Target = usr/lib/modules/*/modules.alias
8 [Action]
9 Description = Remove upgraded DKMS modules
10 Depends = dkms
11 When = PreTransaction
12 Exec = /usr/share/libalpm/scripts/dkms -D remove
13 NeedsTargets