[Trigger]
Type = File
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" 2>&1 >/dev/null ; done'
Depends = ghc
NeedsTargets
