jobcore/texinfo/texinfo-remove.hook
2022-03-20 14:19:37 +02:00

10 lines
285 B
Text

[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