From dd6df4472d8e970f69dcf86cc077eb1cee02d211 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sun, 14 Apr 2019 11:25:40 +0300 Subject: [PATCH] Support Linux mint (#142) --- src/steps/os/linux.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index 136bfff8..47b13e32 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -18,6 +18,7 @@ pub enum Distribution { OpenSuse, Void, Solus, + Mint, } impl Distribution { @@ -56,6 +57,10 @@ impl Distribution { return Ok(Distribution::Solus); } + if content.contains("Mint") { + return Ok(Distribution::Mint); + } + if PathBuf::from("/etc/gentoo-release").exists() { return Ok(Distribution::Gentoo); }