Skip to content
Snippets Groups Projects
Commit 6c5ed45f authored by VietKen's avatar VietKen Committed by Alexandre Viau
Browse files

make-ring.py: Detect Arch Linux


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