Skip to content

Commit

Permalink
Install Oracle's EPEL repo on Oracle Linux 7 and 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcreath committed Jun 17, 2022
1 parent efd1df2 commit b8a0023
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4817,6 +4817,15 @@ install_red_hat_enterprise_workstation_testing_post() {
# Oracle Linux Install Functions
#
install_oracle_linux_stable_deps() {
# Install Oracle's EPEL.
if [ ${_EPEL_REPOS_INSTALLED} -eq $BS_FALSE ]; then
_EPEL_REPO=oracle-epel-release-el${DISTRO_MAJOR_VERSION}
if ! rpm -q "${_EPEL_REPO}" > /dev/null; then
__yum_install_noinput "${_EPEL_REPO}"
fi
_EPEL_REPOS_INSTALLED=$BS_TRUE
fi

install_centos_stable_deps || return 1
return 0
}
Expand Down

0 comments on commit b8a0023

Please sign in to comment.