[Yum-devel] [PATCH 4/5] Return an error code if yum can't install any of the specified packages
Seth Vidal
skvidal at fedoraproject.org
Mon Mar 22 16:52:51 UTC 2010
On Fri, 19 Mar 2010, James Antill wrote:
> People want a bash scriptable way to say "X should be installed". So
> with this patch:
>
> . If _any_ package specified: is installed already; or is found and will
> be installed == yum returns 0 (or at least goes into depchecking etc.)
>
> . If _all_ package(s) are "not found", yum turns the message "Nothing to do"
> into an error (returns 1, atm).
>
> ...thus:
doesn't fill me with joy, even a little, but now is a reasonable-ish time
to test it.
so ACK.
-sv
More information about the Yum-devel
mailing list