setup: correctly detect Arch Linux in platform description

This commit is contained in:
Zooko O'Whielacronx 2008-11-25 09:51:18 -07:00
parent bc53c24003
commit de9edde8f5

View 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():