check for lsb-release before debian_version, else Ubuntu discovered as Debian

This commit is contained in:
Doug MacEachern 2006-10-17 17:37:58 +00:00
parent 2fd03a2fde
commit 29fe017c68
1 changed files with 1 additions and 1 deletions

View File

@ -2216,12 +2216,12 @@ static linux_vendor_info_t linux_vendors[] = {
{ "Red Hat", "/etc/redhat-release", redhat_vendor_parse }, { "Red Hat", "/etc/redhat-release", redhat_vendor_parse },
{ "Fedora", "/etc/fedora-release", NULL }, { "Fedora", "/etc/fedora-release", NULL },
{ "SuSE", "/etc/SuSE-release", NULL }, { "SuSE", "/etc/SuSE-release", NULL },
{ "Debian", "/etc/debian_version", NULL },
{ "Gentoo", "/etc/gentoo-release", NULL }, { "Gentoo", "/etc/gentoo-release", NULL },
{ "Slackware", "/etc/slackware-version", NULL }, { "Slackware", "/etc/slackware-version", NULL },
{ "Mandrake", "/etc/mandrake-release", NULL }, { "Mandrake", "/etc/mandrake-release", NULL },
{ "VMware", "/proc/vmware/version", NULL }, { "VMware", "/proc/vmware/version", NULL },
{ "lsb", "/etc/lsb-release", lsb_vendor_parse }, { "lsb", "/etc/lsb-release", lsb_vendor_parse },
{ "Debian", "/etc/debian_version", NULL },
{ NULL } { NULL }
}; };