diff options
author | Seungha Yang <seungha.yang@navercorp.com> | 2019-07-03 12:08:43 +0900 |
---|---|---|
committer | Seungha Yang <seungha.yang@navercorp.com> | 2019-07-03 12:15:45 +0900 |
commit | 31a0f16a57533391aa70a2289d3cac3c9328b2b0 (patch) | |
tree | ac589a6d73ef3916ee454090225cb8f452108f6a | |
parent | 9ac229e60a3a62649da60dcd42ff3d3ecfea115f (diff) |
bootstrap: Fix dnf usage on CentOS
CentOS 7.x (RHEL 7.x also) is based on Fedora 19 and it uses yum
as a default package manager.
-rw-r--r-- | cerbero/bootstrap/linux.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cerbero/bootstrap/linux.py b/cerbero/bootstrap/linux.py index e58327be..b9e956fd 100644 --- a/cerbero/bootstrap/linux.py +++ b/cerbero/bootstrap/linux.py @@ -130,6 +130,8 @@ class RedHatBootstrapper (UnixBootstrapper): if self.config.distro_version < DistroVersion.FEDORA_23: self.tool = 'yum' + elif self.config.distro_version in [DistroVersion.REDHAT_6, DistroVersion.REDHAT_7]: + self.tool = 'yum' if self.config.target_platform == Platform.WINDOWS: if self.config.arch == Architecture.X86_64: |