On Wed, 22 Apr 2009 16:56:08 +0300
Petteri Räty <betelge...@gentoo.org> wrote:
> Ok. So people should then be using has_version in pkg_info if they
> want to detect if it's installed or not?

If they absolutely totally need to detect that, then yes.

Generally pkg_info should just try to display as much useful
information as it can, though. In particular, it shouldn't do things
like "if we're installed, don't display this information", since people
might be having trouble with a reinstall.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

Reply via email to