From 7adb5988e1f60389bec6b553868c53f68e6f8d82 Mon Sep 17 00:00:00 2001 From: ericLemanissier Date: Mon, 8 Mar 2021 10:03:32 +0100 Subject: [PATCH] toos.OsInfo: properly detect amazon linux 2 --- conans/client/tools/oss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conans/client/tools/oss.py b/conans/client/tools/oss.py index e6f69a4b68a..a59058f99e8 100644 --- a/conans/client/tools/oss.py +++ b/conans/client/tools/oss.py @@ -204,7 +204,7 @@ def with_apt(self): def with_yum(self): return self.is_linux and self.linux_distro in ("pidora", "fedora", "scientific", "centos", "redhat", "rhel", "xenserver", "amazon", - "oracle") + "oracle", "amzn") @property def with_dnf(self):