[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = @MINGW_HOOK_TARGET_PREFIX@/share/fonts/*
Target = @MINGW_HOOK_TARGET_PREFIX@/etc/fonts/conf.d/*
Target = @MINGW_HOOK_TARGET_PREFIX@/share/fontconfig/conf.avail/*
Target = @MINGW_HOOK_TARGET_PREFIX@/share/fontconfig/conf.default/*

[Action]
Description = Updating fontconfig cache...
When = PostTransaction
Exec = @MINGW_PREFIX@/bin/fc-cache -s