[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = usr/share/haskell/register/*.sh
[Action]
Description = Registering Haskell modules...
When = PostTransaction
Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" >>/var/log/haskell-register.log 2>&1 ; done'
Depends = ghc-libs
NeedsTargets