1 |
commit: 20dbb488cdb38da604fd54c3d09fd6709e13db6f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 24 09:43:45 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 24 09:50:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=20dbb488 |
7 |
|
8 |
doc/config/bashrc: document register_die_hook and register_success_hook |
9 |
|
10 |
doc/config/bashrc.docbook | 15 +++++++++++++++ |
11 |
1 file changed, 15 insertions(+) |
12 |
|
13 |
diff --git a/doc/config/bashrc.docbook b/doc/config/bashrc.docbook |
14 |
index f36fec5e6..8f6573432 100644 |
15 |
--- a/doc/config/bashrc.docbook |
16 |
+++ b/doc/config/bashrc.docbook |
17 |
@@ -27,4 +27,19 @@ |
18 |
will be called after src_compile. |
19 |
</para> |
20 |
</sect1> |
21 |
+ <sect1 id='config-bashrc-ebuild-die-hooks'> |
22 |
+ <title>Ebuild Die Hooks</title> |
23 |
+ <para> |
24 |
+ The register_die_hook function registers one or more names of functions |
25 |
+ to call when the ebuild fails for any reason, including file collisions |
26 |
+ with other packages. |
27 |
+ </para> |
28 |
+ </sect1> |
29 |
+ <sect1 id='config-bashrc-ebuild-success-hooks'> |
30 |
+ <title>Ebuild Success Hooks</title> |
31 |
+ <para> |
32 |
+ The register_success_hook function registers one or more names of |
33 |
+ functions to call when the ebuild builds and/or installs successfully. |
34 |
+ </para> |
35 |
+ </sect1> |
36 |
</chapter> |