diff options
author | Stefan Husmann | 2016-05-09 19:15:15 +0200 |
---|---|---|
committer | Stefan Husmann | 2016-05-09 19:15:15 +0200 |
commit | bf50b6f743ebb604ddc07a6f2799c398939ad4b3 (patch) | |
tree | 9274f2aa8407fcc070b5b5a82d1b32dfc98dfedd /texinfo-remove.hook | |
parent | f12ceef8ebd3cfaec11723f30225142ec46d0459 (diff) | |
download | aur-bf50b6f743ebb604ddc07a6f2799c398939ad4b3.tar.gz |
add hooks as the stable version does
Diffstat (limited to 'texinfo-remove.hook')
-rw-r--r-- | texinfo-remove.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/texinfo-remove.hook b/texinfo-remove.hook new file mode 100644 index 000000000000..e57e66637c0b --- /dev/null +++ b/texinfo-remove.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = File +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 |