PKGBUILDs/core/texinfo/texinfo-remove.hook
2023-02-25 22:07:22 +00: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