jobcore/texinfo/texinfo-install.hook

12 lines
307 B
Plaintext

[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = usr/share/info/*
[Action]
Description = Updating the info directory file...
When = PostTransaction
Exec = /bin/sh -c 'while read -r f; do if test -f "$f"; then install-info "$f" /usr/share/info/dir 2> /dev/null; fi; done'
NeedsTargets