[Trigger]
Operation = Remove
Type = Path
Target = usr/src/*/dkms.conf
Target = usr/lib/modules/*/build/include/
Target = usr/lib/modules/*/modules.alias

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