[Trigger]
Type = Path
Operation = Remove
Target = usr/share/info/*

[Action]
Description = Removing old entries from the info directory file...
When = PreTransaction
Exec = /usr/bin/sh -c 'while read -r f; do install-info --delete "$f" /usr/share/info/dir 2> /dev/null; done'
NeedsTargets
