summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-06 10:22:54 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-06 10:22:54 +0000
commitd0733a19ea2b08984589c5881b0a99c2ca26e4d6 (patch)
treed26846c08c46bc51337182743d2e6c513f3b37d7 /man
parentAdd 'tla' to the lists of live eclasses. (diff)
downloadportage-multirepo-d0733a19ea2b08984589c5881b0a99c2ca26e4d6.tar.gz
portage-multirepo-d0733a19ea2b08984589c5881b0a99c2ca26e4d6.tar.bz2
portage-multirepo-d0733a19ea2b08984589c5881b0a99c2ca26e4d6.zip
Bug #295715 - Implement a register_success_hook function to complement
register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936
Diffstat (limited to 'man')
-rw-r--r--man/ebuild.511
1 files changed, 11 insertions, 0 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index 18db8e8a..b9b4ce62 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -703,6 +703,17 @@ VERINS="$(best_version net\-ftp/glftpd)"
.br
(VERINS now has the value "net\-ftp/glftpd\-1.27" if glftpd\-1.27 is installed)
.RE
+.SH "HELPER FUNCTIONS: HOOKS"
+.TP
+\fBregister_die_hook\fR \fI[list of function names]\fR
+Register one or more functions to call when the ebuild fails for any reason,
+including file collisions with other packages.
+.TP
+\fBregister_success_hook\fR \fI[list of function names]\fR
+Register one or more functions to call when the ebuild builds and/or installs
+successfully.
+.TP
+.RE
.SH "HELPER FUNCTIONS: OUTPUT"
.TP
\fBeinfo\fR \fI"disposable message"\fR