mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Remove the test that checks if the EPEL RPM was installed
This commit is contained in:
parent
1b23847120
commit
525585b436
1 changed files with 0 additions and 7 deletions
|
@ -3496,13 +3496,6 @@ __install_epel_repository() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
# Check if epel-release is already installed and flag it accordingly
|
||||
rpm --nodigest --nosignature -q epel-release > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
_EPEL_REPOS_INSTALLED=$BS_TRUE
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Download latest 'epel-release' package for the distro version directly
|
||||
epel_repo_url="${HTTP_VAL}://dl.fedoraproject.org/pub/epel/epel-release-latest-${DISTRO_MAJOR_VERSION}.noarch.rpm"
|
||||
rpm -Uvh --force "$epel_repo_url" || return 1
|
||||
|
|
Loading…
Add table
Reference in a new issue