From 20dbb488cdb38da604fd54c3d09fd6709e13db6f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 24 Oct 2017 02:43:45 -0700 Subject: doc/config/bashrc: document register_die_hook and register_success_hook --- doc/config/bashrc.docbook | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') 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. + + Ebuild Die Hooks + + 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. + + + + Ebuild Success Hooks + + The register_success_hook function registers one or more names of + functions to call when the ebuild builds and/or installs successfully. + + -- cgit v1.2.3-65-gdbad