Fix arch based distribution identification (#147)
This commit is contained in:
@@ -40,7 +40,7 @@ impl Distribution {
|
||||
match (os_release.id.as_ref(), os_release.id_like.as_ref().map(String::as_str)) {
|
||||
(_, Some("debian")) | (_, Some("ubuntu")) => Distribution::Debian,
|
||||
(_, Some("\"suse\"")) => Distribution::Suse,
|
||||
("arch", _) => Distribution::Arch,
|
||||
("arch", _) | (_, Some("archlinux")) => Distribution::Arch,
|
||||
("centos", _) | ("\"ol\"", _) => Distribution::CentOS,
|
||||
("fedora", _) => Distribution::Fedora,
|
||||
("void", _) => Distribution::Void,
|
||||
|
||||
Reference in New Issue
Block a user