Replace hardcoded yum command by package manager variable
Fix hardcoded yum command by package manager variable, PKG_MANAGER in scripts/install-deps.sh. That was problem on Fedora where default package manager is dnf and not yum. Change-Id: I2dbec079adbfcab71e46e086fcd201a5175f22d5 Story: 2005451 Task: 30503
This commit is contained in:
parent
9fcbb420ee
commit
e5e1df0cb0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user