[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = MINGW_PREFIX/share/haskell/register/*.sh

[Action]
Description = Registering Haskell modules...
When = PostTransaction
Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" ; done'
Depends = ghc
NeedsTargets
