Archlinux is arch within /etc/os-release.

This commit is contained in:
Andrew Hamilton 2017-05-23 13:55:36 +01:00
parent 98540fd5a8
commit 0755935dae

View file

@ -934,7 +934,7 @@ def tools_all():
def tool_dependencies(tool, distribution="ubuntu"):
if distribution not in ["ubuntu", "debian", "fedora", "archlinux"]:
if distribution not in ["ubuntu", "debian", "fedora", "arch"]:
raise ValueError
try:
return getattr(tool, distribution + "_dependencies")