Re: Determine system ver (Debian vs. other Linuxes) at runtime?
- From: Chris Howie <cdhowie@xxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 15:43:59 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matt England wrote:
> So I'm left with figuring out much harder ways to tell system revs
> apart. I'm guessing I'm going to have to make an application which does
> nothing but evaluate a system and report it's variant (Redhat vs SuSE
> vs. Debian) and revision (Debian Woody/3.0, Sarge/3.1, etc).
If /etc/debian_version exists, then it's debian, and the file contents should
be the version number (which will be "testing/unstable" if the user is not
running a stable release).
- --
Chris Howie
http://www.chrishowie.com
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d-(--) s:- a--->? C++(+++)$> UL++++ P++++$ L+++>++++ E---
W++ N o++ K? w--$ O M- V- PS--(---) PE++ Y+ PGP++ t+ 5? X-
R(+)>- tv-(--) b- DI+> D++ G>+++ e>++ h(--)>--- !r>+++ y->+++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDtZwPqlk5sZw9W7kRAodaAKCmDbp3MM60oB69qolr9VeBB6lo9wCffM0l
QKgZSD5q6eve9kbzfPR0zrA=
=82bv
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Determine system ver (Debian vs. other Linuxes) at runtime?
- From: Paul E Condon
- Re: Determine system ver (Debian vs. other Linuxes) at runtime?
- References:
- Determine system ver (Debian vs. other Linuxes) at runtime?
- From: Matt England
- Determine system ver (Debian vs. other Linuxes) at runtime?
- Prev by Date: Determine system ver (Debian vs. other Linuxes) at runtime?
- Next by Date: Compatible VoIP software on Debian
- Previous by thread: Determine system ver (Debian vs. other Linuxes) at runtime?
- Next by thread: Re: Determine system ver (Debian vs. other Linuxes) at runtime?
- Index(es):