Commit 6c5ed45f authored by VietKen's avatar VietKen Committed by Alexandre Viau

make-ring.py: Detect Arch Linux

Reviewed-by: default avatarAlexandre Viau <alexandre.viau@savoirfairelinux.com>
Change-Id: I928c0f0aa385661185be935621603f77038af810
parent 4bfbd906
......@@ -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("=")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment