feat: Add name_matcher distro detection for openSUSE

This commit is contained in:
RiQuY 2024-06-25 03:59:50 +02:00
parent c592fc5917
commit 9d255c7080

View file

@ -84,7 +84,10 @@ impl LinuxDistro {
if s.contains("alpine") || s.contains("postmarket") {
return Some(Self::Alpine);
}
// TODO: detect suse, sles, rhel, nix
if s.contains("suse") {
return Some(Self::Suse);
}
// TODO: detect sles, rhel, nix
None
}