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

Re: Should packages be quiet when nodocs flag is used?



Once upon a time, Jesse Keating <jkeating redhat com> said:
> On Sun, 2008-12-21 at 07:40 +0200, Manuel Wolfshant wrote:
> > packages  should skip installing ALL the docs. info pages are doc.
> 
> Well, it does skip it, however it's the %post command that isn't setup
> to account for that.  Apparently you have to mung some file after the
> rpm is installed to update a cache or something.

Is there a way for a %post to know if --excludedocs was set?

Alternately, maybe RPM should take care of this step, not every package
that wants to install info pages.  If you excludedocs, you'll still get
the install-info Requires for each of those packages, even though it is
not really required now.
-- 
Chris Adams <cmadams hiwaay net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


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