diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index 61d16514..6babeb34 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -65,7 +65,7 @@ impl Distribution { Some("nobara") => Distribution::Nobara, Some("void") => Distribution::Void, Some("debian") | Some("pureos") | Some("Deepin") | Some("linuxmint") => Distribution::Debian, - Some("arch") | Some("manjaro-arm") | Some("garuda") | Some("artix") => Distribution::Arch, + Some("arch") | Some("manjaro-arm") | Some("garuda") | Some("artix") | Some("cachyos") => Distribution::Arch, Some("solus") => Distribution::Solus, Some("gentoo") | Some("funtoo") => Distribution::Gentoo, Some("exherbo") => Distribution::Exherbo, @@ -1320,4 +1320,9 @@ mod tests { fn test_bazzite() { test_template(include_str!("os_release/bazzite"), Distribution::FedoraImmutable); } + + #[test] + fn test_cachyos() { + test_template(include_str!("os_release/cachyos"), Distribution::Arch); + } } diff --git a/src/steps/os/os_release/cachyos b/src/steps/os/os_release/cachyos new file mode 100644 index 00000000..86dea09c --- /dev/null +++ b/src/steps/os/os_release/cachyos @@ -0,0 +1,11 @@ +NAME="CachyOS Linux" +PRETTY_NAME="CachyOS" +ID=cachyos +BUILD_ID=rolling +ANSI_COLOR="38;2;23;147;209" +HOME_URL="https://cachyos.org/" +DOCUMENTATION_URL="https://wiki.cachyos.org/" +SUPPORT_URL="https://discuss.cachyos.org/" +BUG_REPORT_URL="https://github.com/cachyos" +PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" +LOGO=cachyos