From: Zooko O'Whielacronx Date: Tue, 25 Nov 2008 16:51:18 +0000 (-0700) Subject: setup: correctly detect Arch Linux in platform description X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/flags?a=commitdiff_plain;h=de9edde8f557cd7265528015eb0cc1c734df4ff8;p=tahoe-lafs%2Ftahoe-lafs.git setup: correctly detect Arch Linux in platform description --- 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():