1 |
On Wednesday 18 July 2001 17:03, you wrote: |
2 |
> On Wed, Jul 18, 2001 at 10:30:42AM +0300, Dan Armak wrote: |
3 |
> >Hi all, |
4 |
> > |
5 |
> >This may be trivial, but I can't find out how to do it. How can I check |
6 |
> > from within an ebuild whether or not a package is installed? For example |
7 |
> > whether virtual/x11 is available. (Even if it's not in USE). |
8 |
> |
9 |
> emerge --pretend |
10 |
|
11 |
No I mean when _writing_ an ebuild, I want it to do different things based on |
12 |
whether some packages are installed. |
13 |
-- |
14 |
|
15 |
Dan Armak |
16 |
Gentoo Linux Developer |
17 |
Matan, Israel |