[CentOS-devel] /etc/redhat-release

Tue Jun 10 19:08:59 UTC 2014
Manuel Wolfshant <wolfy at nobugconsulting.ro>

On 10 iunie 2014 21:39:15 EEST, Keith Keller <kkeller at wombat.san-francisco.ca.us> wrote:
>On 2014-06-10, Les Mikesell <lesmikesell at gmail.com> wrote:
>> On Tue, Jun 10, 2014 at 12:24 PM, Karanbir Singh
><mail-lists at karan.org> wrote:
>>> On 06/10/2014 06:01 PM, Manuel Wolfshant wrote:
>>>> lsb-release is useless, it pipes out the text read from
>/etc/redhat-release
>>>
>>> but lsb-release will give you relevant content even if you are on a
>>> distro that has no /etc/redhat-release
>>>
>>> which is kind of the point of having a single tool that can be used
>>> across distros.
>>
>> How is running a program that isn't there any more useful than
>reading
>> a file that isn't there?
>
>If lsb-release isn't there, then the distro isn't LSB compliant.  Many
>third-party packages state LSB compliance as minimum requirements.
>
>--keith
>
>-- 
>kkeller at wombat.san-francisco.ca.us
>
>_______________________________________________
>CentOS-devel mailing list
>CentOS-devel at centos.org
>http://lists.centos.org/mailman/listinfo/centos-devel

quite often i do not install the lsb-release package. And I use CentOS almost exclusively for many years. On many systems, for all the organizations I work for
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140610/59746ddd/attachment-0007.html>