projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc53c24
)
setup: correctly detect Arch Linux in platform description
author
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 25 Nov 2008 16:51:18 +0000
(09:51 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 25 Nov 2008 16:51:18 +0000
(09:51 -0700)
src/allmydata/__init__.py
patch
|
blob
|
history
diff --git
a/src/allmydata/__init__.py
b/src/allmydata/__init__.py
index 03c9d7b89ddb98464a211000a93ec74356799523..2040f8bcf9040beac239093af9f6de853ba1955e 100644
(file)
--- 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():