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

This commit is contained in:
SteveLauC
2023-05-28 20:44:49 +08:00
committed by GitHub
parent 5358509825
commit 58153635da
3 changed files with 1 additions and 27 deletions

View File

@@ -64,7 +64,7 @@ impl Distribution {
Some("void") => Distribution::Void, Some("void") => Distribution::Void,
Some("debian") | Some("pureos") | Some("Deepin") => Distribution::Debian, 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("solus") => Distribution::Solus,
Some("gentoo") => Distribution::Gentoo, Some("gentoo") => Distribution::Gentoo,
Some("exherbo") => Distribution::Exherbo, Some("exherbo") => Distribution::Exherbo,
@@ -947,11 +947,6 @@ mod tests {
test_template(include_str!("os_release/fedora"), Distribution::Fedora); test_template(include_str!("os_release/fedora"), Distribution::Fedora);
} }
#[test]
fn test_antergos() {
test_template(include_str!("os_release/antergos"), Distribution::Arch);
}
#[test] #[test]
fn test_manjaro() { fn test_manjaro() {
test_template(include_str!("os_release/manjaro"), Distribution::Arch); test_template(include_str!("os_release/manjaro"), Distribution::Arch);
@@ -962,11 +957,6 @@ mod tests {
test_template(include_str!("os_release/manjaro-arm"), Distribution::Arch); test_template(include_str!("os_release/manjaro-arm"), Distribution::Arch);
} }
#[test]
fn test_anarchy() {
test_template(include_str!("os_release/anarchy"), Distribution::Arch);
}
#[test] #[test]
fn test_gentoo() { fn test_gentoo() {
test_template(include_str!("os_release/gentoo"), Distribution::Gentoo); test_template(include_str!("os_release/gentoo"), Distribution::Gentoo);

View File

@@ -1,6 +0,0 @@
NAME="Anarchy Linux"
PRETTY_NAME="Anarchy Linux"
ID=anarchy
ID_LIKE=anarchylinux
ANSI_COLOR="0;36"
HOME_URL="https://anarchylinux.org/"

View File

@@ -1,10 +0,0 @@
NAME="Antergos Linux"
VERSION="18.7-ISO-Rolling"
ID="antergos"
ID_LIKE="arch"
PRETTY_NAME="Antergos Linux"
CPE_NAME="cpe:/o:antergosproject:antergos:18.7"
ANSI_COLOR="1;34;40"
HOME_URL="antergos.com"
SUPPORT_URL="forum.antergos.com"
BUG_REPORT_URL="@antergos"