Merge "Ensure yum-utils is installed in epel element"
This commit is contained in:
commit
061cc48583
@ -35,8 +35,11 @@ fi
|
||||
|
||||
if [ ${DIB_EPEL_DISABLED:-0} -ne 0 ]; then
|
||||
if [[ ${YUM} == "dnf" ]]; then
|
||||
rpm -q dnf-plugins-core || dnf install -y dnf-plugins-core
|
||||
dnf config-manager --set-disabled "epel*"
|
||||
else
|
||||
# Cannot rely on package-installs, it is executed later
|
||||
rpm -q yum-utils || yum install -y yum-utils
|
||||
yum-config-manager --disable "epel*"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user