1 |
Zac Medico wrote: |
2 |
> Ciaran McCreesh wrote: |
3 |
>> except that it moves it deeper down into the "how |
4 |
>> do I determine whether this news item is relevant?" area. And the only |
5 |
>> way to get around that would be to move even more code into Portage |
6 |
>> than you're already proposing. |
7 |
> |
8 |
> |
9 |
> Are the currently specified Display-If-* headers insufficient for some |
10 |
> reason? |
11 |
|
12 |
Looking into this a little further, it seems that Display-If-Installed can be implemented with `portageq match / <atom>` and Display-If-Keyword can be implemented with `portageq envvar ARCH`. That leaves Display-If-Profile which may require a new portageq query in order to cleanly retrieve the profile. Perhaps something like profile=$(portageq profile) would be sufficient? |
13 |
|
14 |
Zac |
15 |
-- |
16 |
gentoo-dev@g.o mailing list |