Files
MSYS2-packages/texinfo/texinfo-remove.hook
Christoph Reiter f181ec41e7 Revert "texinfo: run hooks in a fresh environment"
This reverts commit 1184d42ee9.

See #2793
2022-01-08 19:19:16 +01:00

11 lines
289 B
Plaintext

[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