30 Oct
2008
30 Oct
'08
9:02 p.m.
On Oct 29, 2008, at 12:39 PM, Timo Sirainen wrote:
First however it checks for /etc/lsb-release and if it exists, prints DISTRIB_DESCRIPTION contents. I guess Ubuntu is the only distro currently using that file..
A little late, but I don't see any mention of /etc/lsb-release in the
LSB specification. You probably want the output of /usr/bin/
lsb_release -d
root@jd.dev:/# /usr/bin/lsb_release -d Description: CentOS release 5.2 (Final)
jd@macbook:~$ /usr/bin/lsb_release -d Description: Debian GNU/Linux unstable (sid)
The lsb_release binary has been in the specification since version 1.0.