[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = @MINGW_HOOK_TARGET_PREFIX@/bin/mktexlsr
Target = @MINGW_HOOK_TARGET_PREFIX@/etc/texmf/*
Target = @MINGW_HOOK_TARGET_PREFIX@/share/texmf/*
Target = @MINGW_HOOK_TARGET_PREFIX@/share/texmf-dist/*
Target = @MINGW_HOOK_TARGET_PREFIX@/var/lib/texmf/*

[Action]
Description = Updating TeXLive filename database...
When = PostTransaction
Depends = @MINGW_PACKAGE_PREFIX@-texlive-bin
Exec = /usr/share/libalpm/scripts/@MINGW_PACKAGE_PREFIX@-mktexlsr.script
