From 4fa17ce958166f555cf52864be9df076d6824286 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Wed, 30 Sep 2020 22:49:49 -0500 Subject: [PATCH] Fix for EPEL repo - Remove workaround for EPEL repo issues (bff3fe5) - "yum makecache" may have higher disk space requirements that could cause issues on systems with low free disk space --- extras/vpnupgrade_centos.sh | 1 - vpnsetup_centos.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/extras/vpnupgrade_centos.sh b/extras/vpnupgrade_centos.sh index db00caf..d8075a8 100644 --- a/extras/vpnupgrade_centos.sh +++ b/extras/vpnupgrade_centos.sh @@ -182,7 +182,6 @@ cd /opt/src || exit 1 # Add the EPEL repository 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 makecache || { yum -y clean metadata; yum -y makecache; } || { yum -y clean metadata; yum -y makecache; } # Install necessary packages yum -y install nss-devel nspr-devel pkgconfig pam-devel \ diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index c8ab6b0..6d016b6 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -141,7 +141,6 @@ bigecho "Adding the EPEL repository..." 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 makecache || { yum -y clean metadata; yum -y makecache; } || { yum -y clean metadata; yum -y makecache; } bigecho "Installing packages required for the VPN..."