jobcore/texinfo/texinfo-remove.hook

11 lines
285 B
Plaintext

[Trigger]
Type = Path
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