From: | Dan Armak <danarmak@g.o> | ||
---|---|---|---|
To: | gentoo-dev@××××××××××.org | ||
Subject: | Re: [gentoo-dev] Checking availability of a package from an ebuil d | ||
Date: | Wed, 18 Jul 2001 08:33:51 | ||
Message-Id: | 01071817351204.00590@localhost | ||
In Reply to: | RE: [gentoo-dev] Checking availability of a package from an ebuil d by Sean Mitchell |
1 | On Wednesday 18 July 2001 15:56, you wrote: |
2 | > Hi Dan... |
3 | > |
4 | > > This may be trivial, but I can't find out how to do it. How |
5 | > > can I check from |
6 | > > within an ebuild whether or not a package is installed? For |
7 | > > example whether |
8 | > > virtual/x11 is available. (Even if it's not in USE). |
9 | > |
10 | > I've been using ls /var/db/pkg... |
11 | Well, that's obvious. But I'd like something build-in to the ebuild format, |
12 | like USE. |
13 | -- |
14 | |
15 | Dan Armak |
16 | Gentoo Linux Developer |
17 | Matan, Israel |