Commit eee7eb05 authored by Guillaume Quintard's avatar Guillaume Quintard Committed by Dridi Boukelmoune

circleci: Isolate centos-specific setup

Not all RPM-based distributions are EPEL consumers.

Better diff with the --ignore-all-space option.
parent c3875bbb
...@@ -13,13 +13,12 @@ elif [ -z "$PARAM_DIST" ]; then ...@@ -13,13 +13,12 @@ elif [ -z "$PARAM_DIST" ]; then
exit 1 exit 1
fi fi
yum install -y epel-release
if [ "$PARAM_DIST" = centos ]; then if [ "$PARAM_DIST" = centos ]; then
if [ "$PARAM_RELEASE" = 8 ]; then if [ "$PARAM_RELEASE" = 8 ]; then
dnf install -y 'dnf-command(config-manager)' dnf install -y 'dnf-command(config-manager)'
yum config-manager --set-enabled powertools yum config-manager --set-enabled powertools
fi fi
yum install -y epel-release
fi fi
yum install -y rpm-build yum-utils yum install -y rpm-build yum-utils
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment