NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/32024 (pkg_admin ls{all,best} don't set return code properly)



Synopsis: pkg_admin ls{all,best} don't set return code properly

State-Changed-From-To: feedback->closed
State-Changed-By: joerg%NetBSD.org@localhost
State-Changed-When: Thu, 05 Nov 2009 14:54:28 +0000
State-Changed-Why:
Closed as wont-fix.

Whether a package matched or not can be checked by actually reading
the output, like most of the existing code does.

For the purpose of fetching dependencies etc, the findbest command
of pkg_admin is the best approach. It provides the same dependency
searching algorithm as pkg_add itself uses. It also works with PKG_PATH
and can use remote repositories.





Home | Main Index | Thread Index | Old Index