Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47992 - The return value of has_version is documented differently in gentoo-howto.xml and EBUILD(5)
Summary: The return value of has_version is documented differently in gentoo-howto.xml...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Portage Documentation (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 18:57 UTC by Thomas L. Kjeldsen
Modified: 2004-04-15 20:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas L. Kjeldsen 2004-04-15 18:57:16 UTC
At http://www.gentoo.org/doc/en/gentoo-howto.xml is says that has_version "Returns 1 if the system has the requested version of a certain package" but EBUILD(5) says the opposite: "The function returns 0 if category/package-version is installed, 1 otherwise."

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-04-15 19:18:45 UTC
shell true and shell false.

shell true == 0
shell false == 1
Comment 2 SpanKY gentoo-dev 2004-04-15 20:14:47 UTC
fixed the .xml doc since i got it switched oh-so-long-ago

and thanks for your useless input nick