HomeFreeBSD

Fix distribution detection

Description

Fix distribution detection

Improve the distribution detection by moving the tests for
distribution specific files first. The Ubuntu and Debian
checks are left for last because they are the least likely
to be unique. This is particularly true in the case of Debian
since so many distributions are based on Debian.

Since this is currently only used to identify the correct
packaging method for this system the result in many instances
is simply cosmetic.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Richard Yao <ryao@cs.stonybrook.edu>Authored on Feb 28 2012, 9:23 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 5 2012, 6:38 PM
Parents
rG613d88eda899: Align parition end on 1 MiB boundary
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG76c2b24c613d: Fix distribution detection (authored by Richard Yao <ryao@cs.stonybrook.edu>).Mar 5 2012, 6:38 PM