aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-10-24 02:43:45 -0700
committerZac Medico <zmedico@gentoo.org>2017-10-24 02:50:09 -0700
commit20dbb488cdb38da604fd54c3d09fd6709e13db6f (patch)
treeb37c429af6438f86d6171d5be70fcadd30fd81bc /doc
parentrepoman: Update for a repoman release (diff)
downloadportage-20dbb488cdb38da604fd54c3d09fd6709e13db6f.tar.gz
portage-20dbb488cdb38da604fd54c3d09fd6709e13db6f.tar.bz2
portage-20dbb488cdb38da604fd54c3d09fd6709e13db6f.zip
doc/config/bashrc: document register_die_hook and register_success_hook
Diffstat (limited to 'doc')
-rw-r--r--doc/config/bashrc.docbook15
1 files changed, 15 insertions, 0 deletions
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>