On Sat, May 22, 2010 at 05:40:45PM +0200, Kevin Kofler wrote: > 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. This is not something one can rely on, because it is perfectly valid to change these files. Regards Till
Attachment:
pgpyUK3Xcgueu.pgp
Description: PGP signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel