Fix for EPEL repo
- Add workaround for EPEL repo issues
This commit is contained in:
parent
71dc5bab01
commit
bff3fe5a4b
2 changed files with 2 additions and 0 deletions
|
@ -182,6 +182,7 @@ cd /opt/src || exit 1
|
||||||
# Add the EPEL repository
|
# Add the EPEL repository
|
||||||
epel_url="https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm"
|
epel_url="https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm"
|
||||||
yum -y install epel-release || yum -y install "$epel_url" || exiterr2
|
yum -y install epel-release || yum -y install "$epel_url" || exiterr2
|
||||||
|
yum -y makecache || { yum -y clean metadata; yum -y makecache; } || { yum -y clean metadata; yum -y makecache; }
|
||||||
|
|
||||||
# Install necessary packages
|
# Install necessary packages
|
||||||
yum -y install nss-devel nspr-devel pkgconfig pam-devel \
|
yum -y install nss-devel nspr-devel pkgconfig pam-devel \
|
||||||
|
|
|
@ -144,6 +144,7 @@ bigecho "Adding the EPEL repository..."
|
||||||
|
|
||||||
epel_url="https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm"
|
epel_url="https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm"
|
||||||
yum -y install epel-release || yum -y install "$epel_url" || exiterr2
|
yum -y install epel-release || yum -y install "$epel_url" || exiterr2
|
||||||
|
yum -y makecache || { yum -y clean metadata; yum -y makecache; } || { yum -y clean metadata; yum -y makecache; }
|
||||||
|
|
||||||
bigecho "Installing packages required for the VPN..."
|
bigecho "Installing packages required for the VPN..."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue