Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove Anarchy and Antergos as they are discontinued #446

Merged
merged 1 commit into from
May 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor: remove Anarchy and Antergos as they are discontinued
  • Loading branch information
SteveLauC committed May 28, 2023
commit ceb8f34e0c5de5ce8f8a0214f158d09d2e5ea17c
12 changes: 1 addition & 11 deletions src/steps/os/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Distribution {

Some("void") => Distribution::Void,
Some("debian") | Some("pureos") | Some("Deepin") => Distribution::Debian,
Some("arch") | Some("anarchy") | Some("manjaro-arm") | Some("garuda") | Some("artix") => Distribution::Arch,
Some("arch") | Some("manjaro-arm") | Some("garuda") | Some("artix") => Distribution::Arch,
Some("solus") => Distribution::Solus,
Some("gentoo") => Distribution::Gentoo,
Some("exherbo") => Distribution::Exherbo,
Expand Down Expand Up @@ -947,11 +947,6 @@ mod tests {
test_template(include_str!("os_release/fedora"), Distribution::Fedora);
}

#[test]
fn test_antergos() {
test_template(include_str!("os_release/antergos"), Distribution::Arch);
}

#[test]
fn test_manjaro() {
test_template(include_str!("os_release/manjaro"), Distribution::Arch);
Expand All @@ -962,11 +957,6 @@ mod tests {
test_template(include_str!("os_release/manjaro-arm"), Distribution::Arch);
}

#[test]
fn test_anarchy() {
test_template(include_str!("os_release/anarchy"), Distribution::Arch);
}

#[test]
fn test_gentoo() {
test_template(include_str!("os_release/gentoo"), Distribution::Gentoo);
Expand Down
6 changes: 0 additions & 6 deletions src/steps/os/os_release/anarchy

This file was deleted.

10 changes: 0 additions & 10 deletions src/steps/os/os_release/antergos

This file was deleted.