]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: correctly detect Arch Linux in platform description
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 25 Nov 2008 16:51:18 +0000 (09:51 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 25 Nov 2008 16:51:18 +0000 (09:51 -0700)
src/allmydata/__init__.py

index 03c9d7b89ddb98464a211000a93ec74356799523..2040f8bcf9040beac239093af9f6de853ba1955e 100644 (file)
@@ -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():