On Fri, May 21, 2010 at 11:22:28AM +0200, Kevin Kofler wrote: > Richard W.M. Jones wrote: > > What happens if we want to run the /usr/bin/lsb_release command? > > Check /etc/redhat-release (which is a symlink to fedora-release, centos- > release etc. on the relevant systems) instead? Well, funnily enough I did something like that ... Unfortunately I couldn't find a really good way to differentiate between Debian from Ubuntu without using 'lsb_release -i'. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel