Gentoo Archives: gentoo-dev

From: Sean Mitchell <SMitchell@×××××××××××××××××××.com>
To: gentoo-dev@××××××××××.org
Subject: RE: [gentoo-dev] Checking availability of a package from an ebuil d
Date: Wed, 18 Jul 2001 06:59:08
Message-Id: 1DCB85BD45DED211B12D009027279E4F4767C7@murcury
1 Hi Dan...
2
3 > This may be trivial, but I can't find out how to do it. How
4 > can I check from
5 > within an ebuild whether or not a package is installed? For
6 > example whether
7 > virtual/x11 is available. (Even if it's not in USE).
8
9 I've been using ls /var/db/pkg...
10
11 Sean
12
13 ------------------------------------------------------------------------
14 Sean Mitchell Software Engineer
15 smitchell@×××××××××××××××××××.com Phoenix Interactive Design Inc
16 tel. 519-679-2913 x237 4th Floor, 137 Dundas St
17 fax. 519 679 6773 London, ON, Canada N6A 1E9
18 ICQ# 104246806
19 ------------------------------------------------------------------------

Replies