summaryrefslogtreecommitdiffstats
path: root/abs/core/texinfo/texinfo-install.hook
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/texinfo/texinfo-install.hook')
-rw-r--r--abs/core/texinfo/texinfo-install.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/texinfo/texinfo-install.hook b/abs/core/texinfo/texinfo-install.hook
new file mode 100644
index 0000000..80f7896
--- /dev/null
+++ b/abs/core/texinfo/texinfo-install.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+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 install-info "$f" /usr/share/info/dir 2> /dev/null; done'
+NeedsTargets