You could try this tool:
  http://sourceforge.net/projects/distro-id

Not sure if it'll also be confused by the release files.

You can also try lsb_release(1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1390151

Title:
  Distro check for Red Hat is not optimal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1390151/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to