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

[Action]
Description = Install DKMS modules
Depends = dkms
When = PostTransaction
Exec = /usr/share/libalpm/scripts/dkms install
NeedsTargets
