[CentOS-devel] /etc/redhat-release

John R. Dennison

jrd at gerdesas.com
Thu Jun 12 10:04:57 UTC 2014


On Thu, Jun 12, 2014 at 10:58:31AM +0100, Dan Porter wrote:
> Hi Fred,
> 
> You should checkout how Virtualmin does system version detection.
> 
> http://software.virtualmin.com/lib/oschooser.pl
> http://software.virtualmin.com/lib/os_list.txt

Which does it the 100% wrong way.

Again, contents of /etc/*-release _can not be trusted_.






							John
-- 
One isn't born one's self.  One is born with a mass of expectations, a mass
of other people's ideas -- and you have to work through it all.

-- Vidiadhar Surajprasad Naipaul (1932-), British writer,
   2001 Nobel laureate in Literature, New York Times, 24 April 1994
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140612/9e6d2af9/attachment-0003.sig>


More information about the CentOS-devel mailing list