Support Manjaro (fixes #35)
This commit is contained in:
@@ -26,7 +26,7 @@ impl Distribution {
|
||||
pub fn detect() -> Result<Self, failure::Error> {
|
||||
let content = fs::read_to_string("/etc/os-release")?;
|
||||
|
||||
if content.contains("Arch") {
|
||||
if content.contains("Arch") | content.contains("Manjaro") {
|
||||
return Ok(Distribution::Arch);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user