Skip to content

Commit 53321ac

Browse files
authored
Add support for Manjaro-Linux
Add support for Manjaro-Linux, closes #503
1 parent be86b88 commit 53321ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testinfra/modules/package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def is_installed(self):
3131
3232
- apk (Alpine)
3333
- apt (Debian, Ubuntu, ...)
34-
- pacman (Arch)
34+
- pacman (Arch, Manjaro )
3535
- pkg (FreeBSD)
3636
- pkg_info (NetBSD)
3737
- pkg_info (OpenBSD)
@@ -81,7 +81,7 @@ def get_module_class(cls, host):
8181
)
8282
):
8383
return RpmPackage
84-
if host.system_info.distribution == "arch":
84+
if host.system_info.distribution in ("arch", "manjarolinux"):
8585
return ArchPackage
8686
if host.exists("apk"):
8787
return AlpinePackage

0 commit comments

Comments
 (0)