From 91f30deab355d07a3df481124f71177f97ad1a6e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 15 Sep 2012 13:54:40 -0700 Subject: ebuild.5: EAPI 5 best/has_version --host-root --- man/ebuild.5 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/man/ebuild.5 b/man/ebuild.5 index cca68356a..1ac1f920d 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -979,16 +979,20 @@ places where output is to be disregarded. Never use the output for calculation. The \fIitem list\fR is delimited by the \fIIFS\fR variable. This variable has a default value of ' ', or a space. It is a \fBbash\fR(1) setting. .TP -\fBhas_version\fR \fI\fR +\fBhas_version\fR \fI[\-\-host\-root]\fR \fI\fR Check to see if \fIcategory/package\-version\fR is installed on the system. The parameter accepts all values that are acceptable in the \fBDEPEND\fR variable. The function returns 0 if \fIcategory/package\-version\fR is -installed, 1 otherwise. +installed, 1 otherwise. Beginning with \fBEAPI 5\fR, the +\-\-host\-root option may be used in order to cause the query +to apply to the host root instead of ${ROOT}. .TP -\fBbest_version\fR \fI\fR +\fBbest_version\fR \fI[\-\-host\-root]\fR \fI\fR This function will look up \fIpackage name\fR in the database of currently installed programs and echo the "best version" of the package that is -currently installed. +currently installed. Beginning with \fBEAPI 5\fR, the +\-\-host\-root option may be used in order to cause the query +to apply to the host root instead of ${ROOT}. .RS .TP .I Example: -- cgit v1.2.3-1-g7c22