rawhide report: 20100517 changes

Kevin Kofler kevin.kofler at chello.at
Sat May 22 15:40:45 UTC 2010


Richard W.M. Jones wrote:
> Unfortunately I couldn't find a really good way to differentiate
> between Debian from Ubuntu without using 'lsb_release -i'.

/etc/issue contains that information. It says something like:
Ubuntu 9.04 \n \l
(blank line)

By the way, that also works on Fedora, my /etc/issue says:
Fedora release 12 (Constantine)
Kernel \r on an \m (\l)
(blank line)
The first line is the same as the contents of /etc/redhat-release.

        Kevin Kofler



More information about the devel mailing list