Gentoo Archives: gentoo-user

From: Jules Colding <colding@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How do I detect that I'm on Gentoo?
Date: Mon, 26 Mar 2007 13:57:41
Message-Id: 1174916703.6271.449.camel@omc-2.omesc.com
1 On Mon, 2007-03-26 at 15:40 +0200, Xavier Parizet wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Hi !
6 >
7 > You can detect if the file /etc/gentoo-release is present.
8
9 Excellent!
10
11 Thanks,
12 jules
13
14
15 > Regards.
16 >
17 > -------
18 > Xavier Parizet
19 > http://www.linuxant.fr
20 >
21 > Le Lun 26 mars 2007 15:36, Jules Colding a écrit :
22 > > Hi,
23 > >
24 > > The question might seem silly, but I'm writing a few lines in my
25 > > 'configure.in' that should detect which distribution the package is
26 > > being build on. This is for making distribution dependent modifications
27 > > in the source/build scripts.
28 > >
29 > > So, how do I detect that I'm on gentoo? Anything like lsb_release here??
30 > > I can see that lsb in masked so I'm preferably looking for something
31 > > that is present in most gentoo installations.
32 > >
33 > > Thanks,
34 > > jules
35 > >
36 > >
37 > > --
38 > > gentoo-user@g.o mailing list
39 > >
40 > >
41 >
42 >
43 > -----BEGIN PGP SIGNATURE-----
44 > Version: GnuPG v2.0.3 (GNU/Linux)
45 >
46 > iD8DBQFGB81hmSNaOeTZvg0RAqEjAKCxmj88ORHrUqFPNdaDjgK5QD38awCfTggR
47 > r8HJ2YtKRTfuElfpj+qL0tE=
48 > =Ov4b
49 > -----END PGP SIGNATURE-----
50 >
51
52 --
53 gentoo-user@g.o mailing list