develooper Front page | perl.perl5.porters | Postings from October 1999

Re: Detecting RedHat distribution version

Thread Previous
From:
Dan Sugalski
Date:
October 26, 1999 11:56
Subject:
Re: Detecting RedHat distribution version
Message ID:
3.0.6.32.19991026145948.00c61300@tuatha.sidhe.org
At 02:55 PM 10/26/99 -0400, Andy Dougherty wrote:
>I'm currently trying to patch Configure to tell you the Linux
>distribution (RedHat, SuSE, Debian, others as folks supply the
>information), and I'm unsure of how to best parse RedHat's
>/etc/redhat-release file. I have the following 1 example:
>
>	Red Hat Linux release 6.1 (Cartman)

6.0 shows:

   Red Hat Linux release 6.0 (Hedwig)

in /etc/redhat-release. (Presumably after Harry Potter's owl, but that's
not likely relevant here...)

					Dan

----------------------------------------"it's like this"-------------------
Dan Sugalski                            even samurai
dan@sidhe.org                           have teddy bears and even
                                        teddy bears get drunk

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About