Commit 6c5ed45f authored by VietKen's avatar VietKen Committed by Alexandre Viau
Browse files Detect Arch Linux

Reviewed-by: default avatarAlexandre Viau <>
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("=")
Supports Markdown
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