mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-03 06:38:52 +00:00
feat: Add name_matcher distro detection for openSUSE
This commit is contained in:
parent
c592fc5917
commit
9d255c7080
1 changed files with 4 additions and 1 deletions
|
@ -84,7 +84,10 @@ impl LinuxDistro {
|
||||||
if s.contains("alpine") || s.contains("postmarket") {
|
if s.contains("alpine") || s.contains("postmarket") {
|
||||||
return Some(Self::Alpine);
|
return Some(Self::Alpine);
|
||||||
}
|
}
|
||||||
// TODO: detect suse, sles, rhel, nix
|
if s.contains("suse") {
|
||||||
|
return Some(Self::Suse);
|
||||||
|
}
|
||||||
|
// TODO: detect sles, rhel, nix
|
||||||
|
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue