[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = texlive-bin

[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = @MINGW_HOOK_TARGET_PREFIX@/var/lib/texmf/msys2/installedpkgs/*.fmts

[Action]
Description = Updating TeXLive format files...
When = PostTransaction
Depends = @MINGW_PACKAGE_PREFIX@-texlive-bin
Exec = /usr/share/libalpm/scripts/@MINGW_PACKAGE_PREFIX@-texlive-fmtutil.script
