Merge "Replace hardcoded yum command by package manager variable"

This commit is contained in:
Zuul 2019-04-15 08:37:02 +00:00 committed by Gerrit Code Review
commit 58fd90b124
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ case ${ID,,} in
[wget]=wget
)
EXTRA_PKG_DEPS=()
sudo -E yum updateinfo
sudo -E ${PKG_MANAGER} updateinfo
if $(grep -q Fedora /etc/redhat-release); then
EXTRA_PKG_DEPS="python-dnf redhat-rpm-config"
fi