[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/fonts/*/
Target = !usr/share/fonts/encodings/*
[Action]
Description = Updating X fontdir indices...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/xorg-mkfontscale
NeedsTargets