Manjaro Arm doesn't have an ID_LIKE (#325)
This commit is contained in:
@@ -60,7 +60,7 @@ impl Distribution {
|
||||
Some("fedora") => Distribution::Fedora,
|
||||
Some("void") => Distribution::Void,
|
||||
Some("debian") => Distribution::Debian,
|
||||
Some("arch") | Some("anarchy") => Distribution::Arch,
|
||||
Some("arch") | Some("anarchy") | Some("manjaro-arm") => Distribution::Arch,
|
||||
Some("solus") => Distribution::Solus,
|
||||
Some("gentoo") => Distribution::Gentoo,
|
||||
Some("exherbo") => Distribution::Exherbo,
|
||||
@@ -529,6 +529,11 @@ mod tests {
|
||||
test_template(&include_str!("os_release/manjaro"), Distribution::Arch);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_manjaro_arm() {
|
||||
test_template(&include_str!("os_release/manjaro-arm"), Distribution::Arch);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_anarchy() {
|
||||
test_template(&include_str!("os_release/anarchy"), Distribution::Arch);
|
||||
|
||||
7
src/steps/os/os_release/manjaro-arm
Normal file
7
src/steps/os/os_release/manjaro-arm
Normal file
@@ -0,0 +1,7 @@
|
||||
NAME="Manjaro-ARM"
|
||||
ID=manjaro-arm
|
||||
PRETTY_NAME="Manjaro ARM"
|
||||
ANSI_COLOR="1;32"
|
||||
HOME_URL="https://www.manjaro.org/"
|
||||
SUPPORT_URL="https://forum.manjaro.org/c/manjaro-arm/"
|
||||
|
||||
Reference in New Issue
Block a user