committed by
GitHub
parent
84ad4dbeb4
commit
fab8f1a9f1
@@ -52,7 +52,7 @@ impl Distribution {
|
||||
Some("clear-linux-os") => Distribution::ClearLinux,
|
||||
Some("fedora") => Distribution::Fedora,
|
||||
Some("void") => Distribution::Void,
|
||||
Some("debian") => Distribution::Debian,
|
||||
Some("debian" | "pureos") => Distribution::Debian,
|
||||
Some("arch" | "anarchy" | "manjaro-arm" | "garuda" | "artix") => Distribution::Arch,
|
||||
Some("solus") => Distribution::Solus,
|
||||
Some("gentoo") => Distribution::Gentoo,
|
||||
@@ -724,4 +724,9 @@ mod tests {
|
||||
fn test_garuda() {
|
||||
test_template(include_str!("os_release/garuda"), Distribution::Arch);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_pureos() {
|
||||
test_template(include_str!("os_release/pureos"), Distribution::Debian);
|
||||
}
|
||||
}
|
||||
|
||||
6
src/steps/os/os_release/pureos
Normal file
6
src/steps/os/os_release/pureos
Normal file
@@ -0,0 +1,6 @@
|
||||
ID=pureos
|
||||
NAME=PureOS
|
||||
PRETTY_NAME=PureOS
|
||||
|
||||
VERSION_ID=10.0
|
||||
VERSION_CODENAME=byzantium
|
||||
Reference in New Issue
Block a user