From 6c5ed45f9b2b83a4bec479d7e5209e91e5ce536c Mon Sep 17 00:00:00 2001
From: VietKen <le.kenzyme@protonmail.com>
Date: Tue, 18 Oct 2016 17:01:18 -0400
Subject: [PATCH] make-ring.py: Detect Arch Linux

Reviewed-by: Alexandre Viau <alexandre.viau@savoirfairelinux.com>
Change-Id: I928c0f0aa385661185be935621603f77038af810
---
 make-ring.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/make-ring.py b/make-ring.py
index 711d3f4a..f0375c0d 100755
--- a/make-ring.py
+++ b/make-ring.py
@@ -408,6 +408,8 @@ def parse_args():
 def choose_distribution():
     system = platform.system().lower()
     if system == "linux" or system == "linux2":
+        if os.path.isfile("/etc/arch-release"):
+            return "Arch Linux"
         with open("/etc/os-release") as f:
             for line in f:
                 k,v = line.split("=")
-- 
GitLab