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