[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Howto print message on rpm install?



On Wed, Dec 27, 2006 at 06:40:00AM +0100, Thorsten Leemhuis wrote:
> Jeffrey C. Ollie schrieb:
> > On Tue, 2006-12-26 at 14:55 +0100, Thorsten Leemhuis wrote:
> >> BTW, I think there was already a consensus some months ago to disallow
> >> output from the rpm scripts entirely. But it never found the way into
> >> the guidelines afaics :-/
> > Maybe there was an agreement on non-error messages, but error messages
> > should be allowed in certain circumstances.
> 
> Well, allowed maybe, but it IMHO does not make to much sense for the
> same reasons (you won't see them in nightly yum updates, front ends like
> pirut won't show them and you often won't even see them in plain yum as
> they often scroll away quite soon due to the output from installing
> other packages, ...), so you should not rely on them.

An error message should of course be accompanied with a non-zero exit
code of the scriplet, in which case no tool will scroll by (or if a
tool would do that it would ba a bug in the tool)
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpjrsoXrhzKu.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]