[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: /etc/redhat-release



>  -----Original Message-----
>  From: redhat-list-bounces redhat com [mailto:redhat-list-
>  bounces redhat com] On Behalf Of inode0
>  Sent: Monday, June 28, 2010 1:33 PM
>  To: General Red Hat Linux discussion list
>  Subject: Re: /etc/redhat-release
>  
>  On Mon, Jun 28, 2010 at 11:54 AM, Broekman, Maarten
>  <Maarten Broekman fmr com> wrote:
>  > Use lsb_release instead. It knows how to parse the contents of the
>  > redhat-release file into appropriate fields, saving you from having
to
>  > do that yourself.
>  
>  Although lots of people don't install that on servers given what it
>  pulls in. This is a pain point as I have scripts that often need
>  maintenance due to seemingly unnecessary changes between even point
>  releases.
>  
>  John

Is the "pain point" the libraries that it requires (in particular,
libX11, etc)?  Just wondering because the commands that are required
look like what you would expect on any reasonable system.

--Maarten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]