Gentoo Archives: gentoo-dev

From: Ben Lutgens <blutgens@×××××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] Checking availability of a package from an ebuild
Date: Wed, 18 Jul 2001 08:02:16
Message-Id: 20010718090304.A3607@minime.sistina.com
In Reply to: [gentoo-dev] Checking availability of a package from an ebuild by Dan Armak
1 On Wed, Jul 18, 2001 at 10:30:42AM +0300, Dan Armak wrote:
2 >Hi all,
3 >
4 >This may be trivial, but I can't find out how to do it. How can I check from
5 >within an ebuild whether or not a package is installed? For example whether
6 >virtual/x11 is available. (Even if it's not in USE).
7
8 emerge --pretend
9
10 >
11 >
12 >--
13 >
14 >Dan Armak
15 >Gentoo Linux Developer
16 >Matan, Israel
17 >
18 >_______________________________________________
19 >gentoo-dev mailing list
20 >gentoo-dev@××××××××××.org
21 >http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
22
23 --
24 Ben Lutgens
25 Sistina Software Inc.
26 Kernel panic: I have no root and I want to scream

Replies