Skip to content

Commit

Permalink
install-deps.sh: always use yum-config-manager for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Dec 5, 2017
1 parent f9aa49c commit eccc961
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ else
$SUDO yum install -y yum-utils
MAJOR_VERSION=$(lsb_release -rs | cut -f1 -d.)
if test $(lsb_release -si) = RedHatEnterpriseServer ; then
$SUDO yum install subscription-manager
$SUDO subscription-manager repos --enable=rhel-$MAJOR_VERSION-server-optional-rpms
$SUDO yum-config-manager --enable rhel-$MAJOR_VERSION-server-optional-rpms
fi
$SUDO yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/$MAJOR_VERSION/x86_64/
$SUDO yum install --nogpgcheck -y epel-release
Expand Down

0 comments on commit eccc961

Please sign in to comment.