Debian Developers - Re: Is there a way to positively, uniquely identify which Debian release a program is

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > May 2007 > Re: Is there a way to positively, uniquely identify which Debian release a program is





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Is there a way to positively, uniquely identify which Debian release a program is
Stephen Gran

2007-05-30, 7:20 pm

This one time, at band camp, Kris Deugau said:
> On RHEL and derived distros, there's usually a file /etc/redhat-release
> (sometimes renamed, but usually trivially enough that it can be found
> with little trouble) containing both the distro code name and the
> version number.


The closest we ship is /etc/debian_version. I use it for several
similar tests at work, you just need to keep a mental map between the
number and the version string. If you can count lsb-release being
installed, that will give you more information, or you could just look
at the tests it performs to get an idea of how it distinguishes
releases.

Take care,
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran@debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com