[-R option] Fix logic error where we trying to enable epel with -R

This commit is contained in:
rallytime 2017-03-06 15:59:21 -07:00
parent c81e7344ca
commit 8b09b36f9f

View file

@ -1548,7 +1548,7 @@ __rpm_import_gpg() {
__yum_install_noinput() {
ENABLE_EPEL_CMD=""
if [ $_DISABLE_REPOS -eq $BS_TRUE ]; then
if [ $_DISABLE_REPOS -eq $BS_FALSE ]; then
ENABLE_EPEL_CMD="--enablerepo=${_EPEL_REPO}"
fi