check for lsb-release before debian_version, else Ubuntu discovered as Debian
This commit is contained in:
parent
2fd03a2fde
commit
29fe017c68
|
@ -2216,12 +2216,12 @@ static linux_vendor_info_t linux_vendors[] = {
|
|||
{ "Red Hat", "/etc/redhat-release", redhat_vendor_parse },
|
||||
{ "Fedora", "/etc/fedora-release", NULL },
|
||||
{ "SuSE", "/etc/SuSE-release", NULL },
|
||||
{ "Debian", "/etc/debian_version", NULL },
|
||||
{ "Gentoo", "/etc/gentoo-release", NULL },
|
||||
{ "Slackware", "/etc/slackware-version", NULL },
|
||||
{ "Mandrake", "/etc/mandrake-release", NULL },
|
||||
{ "VMware", "/proc/vmware/version", NULL },
|
||||
{ "lsb", "/etc/lsb-release", lsb_vendor_parse },
|
||||
{ "Debian", "/etc/debian_version", NULL },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue