Merge "Replace hardcoded yum command by package manager variable"
This commit is contained in:
commit
58fd90b124
|
@ -87,7 +87,7 @@ case ${ID,,} in
|
||||||
[wget]=wget
|
[wget]=wget
|
||||||
)
|
)
|
||||||
EXTRA_PKG_DEPS=()
|
EXTRA_PKG_DEPS=()
|
||||||
sudo -E yum updateinfo
|
sudo -E ${PKG_MANAGER} updateinfo
|
||||||
if $(grep -q Fedora /etc/redhat-release); then
|
if $(grep -q Fedora /etc/redhat-release); then
|
||||||
EXTRA_PKG_DEPS="python-dnf redhat-rpm-config"
|
EXTRA_PKG_DEPS="python-dnf redhat-rpm-config"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue