Skip to content

Commit

Permalink
Merge pull request #963 from sp1r/fix-epel-repo-with-metadata-detection
Browse files Browse the repository at this point in the history
Fix detection of EPEL repository with not-expired metadata
  • Loading branch information
Nicole Thomas committed Sep 23, 2016
2 parents b5978ee + 1f88e3a commit 3fc1501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap-salt.sh
Expand Up @@ -3374,7 +3374,7 @@ __install_epel_repository() {
fi

# Check if epel repo is already enabled and flag it accordingly
yum repolist | grep -q "^[!]${_EPEL_REPO}/"
yum repolist | grep -q "^[!]\?${_EPEL_REPO}/"
if [ $? -eq 0 ]; then
_EPEL_REPOS_INSTALLED=$BS_TRUE
return 0
Expand Down

0 comments on commit 3fc1501

Please sign in to comment.