commit:     20dbb488cdb38da604fd54c3d09fd6709e13db6f
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 09:43:45 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 09:50:09 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=20dbb488

doc/config/bashrc: document register_die_hook and register_success_hook

 doc/config/bashrc.docbook | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/doc/config/bashrc.docbook b/doc/config/bashrc.docbook
index f36fec5e6..8f6573432 100644
--- a/doc/config/bashrc.docbook
+++ b/doc/config/bashrc.docbook
@@ -27,4 +27,19 @@
                will be called after src_compile.
                </para>
        </sect1>
+       <sect1 id='config-bashrc-ebuild-die-hooks'>
+               <title>Ebuild Die Hooks</title>
+               <para>
+               The register_die_hook function registers one or more names of 
functions
+               to call when the ebuild fails for any reason, including file 
collisions
+               with other packages.
+               </para>
+       </sect1>
+       <sect1 id='config-bashrc-ebuild-success-hooks'>
+               <title>Ebuild Success Hooks</title>
+               <para>
+               The register_success_hook function registers one or more names 
of
+               functions to call when the ebuild builds and/or installs 
successfully.
+               </para>
+       </sect1>
 </chapter>

Reply via email to