Archlinux is arch within /etc/os-release.
This commit is contained in:
parent
98540fd5a8
commit
0755935dae
1 changed files with 1 additions and 1 deletions
2
tools.py
2
tools.py
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue