From de9edde8f557cd7265528015eb0cc1c734df4ff8 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Tue, 25 Nov 2008 09:51:18 -0700 Subject: [PATCH] setup: correctly detect Arch Linux in platform description --- src/allmydata/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/allmydata/__init__.py b/src/allmydata/__init__.py index 03c9d7b8..2040f8bc 100644 --- a/src/allmydata/__init__.py +++ b/src/allmydata/__init__.py @@ -104,6 +104,9 @@ def get_linux_distro(): except EnvironmentError: pass + if os.path.exists("/etc/arch-release"): + return ("Arch_Linux", "") + return (_distname,_version) def get_platform(): -- 2.45.2