Skip to content

Commit

Permalink
fix EPEL mirror setups for CentOS 7
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Aug 24, 2014
1 parent ff72811 commit 1f2ba2c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inc/downloadlinks.inc
Expand Up @@ -12,7 +12,7 @@
fi

CENTOSFIVEEPELFILE="epel-release-5-4.noarch.rpm"
CENTOSFIVEEPEL="http://mirror.us.leaseweb.net/epel/5/${ARCH}/${CENTOSFIVEEPELFILE}"
CENTOSFIVEEPEL="http://epel.mirror.constant.com/5/${ARCH}/${CENTOSFIVEEPELFILE}"

CENTOSFIVERPMFORGEFILE="rpmforge-release-0.5.3-1.el5.rf.${ARCH}.rpm"
CENTOSFIVERPMFORGE="http://pkgs.repoforge.org/rpmforge-release/${CENTOSFIVERPMFORGEFILE}"
Expand All @@ -27,7 +27,7 @@ CENTOSFIVEVARNISHFILE='varnish-release-3.0-1.el5.centos.noarch.rpm'
CENTOSFIVEVARNISH="http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release/${CENTOSFIVEVARNISHFILE}"

CENTOSSIXEPELFILE="epel-release-6-8.noarch.rpm"
CENTOSSIXEPEL="http://mirror.us.leaseweb.net/epel/6/${RPMFARCH}/${CENTOSSIXEPELFILE}"
CENTOSSIXEPEL="http://epel.mirror.constant.com/6/${RPMFARCH}/${CENTOSSIXEPELFILE}"
CENTOSSIXEPELLOCAL="http://centminmod.com/centminmodparts/repos/${CENTOSSIXEPELFILE}"

CENTOSSIXRPMFORGEFILE="rpmforge-release-0.5.3-1.el6.rf.${ARCH}.rpm"
Expand Down
1 change: 1 addition & 0 deletions inc/downloads_centosfive.inc
Expand Up @@ -18,6 +18,7 @@ checklogdetails
exit #$ERROR
else
cecho "Download done." $boldyellow
rpm --import http://epel.mirror.constant.com/RPM-GPG-KEY-EPEL-5
rpm -i ${CENTOSFIVEEPELFILE}
yum${CACHESKIP} -q list ccache 2>&1 >/dev/null
ERR=$?
Expand Down
3 changes: 2 additions & 1 deletion inc/downloads_centosseven.inc
Expand Up @@ -32,7 +32,8 @@ checklogdetails
exit #$ERROR
else
cecho "Download done." $boldyellow
rpm -i ${CENTOSSEVENEPELFILE}
rpm --import http://epel.mirror.constant.com/RPM-GPG-KEY-EPEL-7
rpm -i ${CENTOSSEVENEPELFILE}
yum${CACHESKIP} -q list ccache 2>&1 >/dev/null
ERR=$?
CCEPELCHECK="$ERR"
Expand Down
1 change: 1 addition & 0 deletions inc/downloads_centossix.inc
Expand Up @@ -32,6 +32,7 @@ checklogdetails
exit #$ERROR
else
cecho "Download done." $boldyellow
rpm --import http://epel.mirror.constant.com/RPM-GPG-KEY-EPEL-6
rpm -i ${CENTOSSIXEPELFILE}
yum${CACHESKIP} -q list ccache 2>&1 >/dev/null
ERR=$?
Expand Down

0 comments on commit 1f2ba2c

Please sign in to comment.