Skip to content

Commit

Permalink
Merge pull request stanislav-tkach#338 from Arto-O/master
Browse files Browse the repository at this point in the history
Add support for Mabox, resolves stanislav-tkach#337
  • Loading branch information
stanislav-tkach committed Feb 27, 2023
2 parents b9eef20 + b0ec30a commit 39c38f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions os_info/src/linux/lsb_release.rs
Expand Up @@ -25,6 +25,7 @@ pub fn get() -> Option<Info> {
Some("Garuda") => Type::Garuda,
Some("Gentoo") => Type::Gentoo,
Some("Linuxmint") => Type::Mint,
Some("MaboxLinux") => Type::Mabox,
Some("ManjaroLinux") => Type::Manjaro,
Some("Mariner") => Type::Mariner,
Some("NixOS") => Type::NixOS,
Expand Down
1 change: 1 addition & 0 deletions os_info/src/linux/mod.rs
Expand Up @@ -36,6 +36,7 @@ mod tests {
| Type::Garuda
| Type::Gentoo
| Type::Linux
| Type::Mabox
| Type::Manjaro
| Type::Mariner
| Type::NixOS
Expand Down
2 changes: 2 additions & 0 deletions os_info/src/os_type.rs
Expand Up @@ -38,6 +38,8 @@ pub enum Type {
Illumos,
/// Linux based operating system (<https://en.wikipedia.org/wiki/Linux>).
Linux,
/// Mabox (<https://maboxlinux.org/>).
Mabox,
/// Mac OS X/OS X/macOS (<https://en.wikipedia.org/wiki/MacOS>).
Macos,
/// Manjaro (<https://en.wikipedia.org/wiki/Manjaro>).
Expand Down

0 comments on commit 39c38f3

Please sign in to comment.