* Jonathan Callen schrieb am 19.05.11 um 11:49 Uhr:
> Ulrich Mueller wrote:
> 
> >>>>>> On Wed, 18 May 2011, Jonathan Callen wrote:
> > 
> >> Display-If-Installed: kde-base/kdelibs[kdeprefix]
> > 
> > I don't think that USE dependencies (or any other EAPI specific
> > features) are allowed here.
> 
> The GLEP does not make any meantion as to whether it is legal to use 
> USE dependencies here.  I have, however, tested with portage and 
> portage itself Does The Right Thing when faced with a USE dep in 
> Display-If-Installed.
> 
> >> run: emerge --oneshot $(qlist -IC kde-base/)
> > 
> > Is it guaranteed that your users have portage-utils installed?
> > Otherwise the qlist command may not be available.
> > 
> 
> I had thought that we depended on this, but I was mistaken (the 
> dependency was pulled in via pambase).  I guess we could just use 
> `emerge --update --deep --newuse @world` (and yes, @world is available 
> in stable portage).

test -x /usr/bin/qlist && emerge --oneshot $(qlist -IC kde-base/) \
|| emerge --update --deep --newuse @world

?

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

Reply via email to