Skip to content

Commit

Permalink
Merge branch '123.07stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Aug 24, 2014
2 parents dcf6cad + 3d5f220 commit 56bf24d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions centmin.sh
Expand Up @@ -281,6 +281,7 @@ WGETOPT='-cnv --no-dns-cache -4'
FPMRPM_LIBEVENT=n
FPMRPM_MEMCACHED=n
CENTALTREPO_DISABLE=y
AXIVOREPO_DISABLE=y
###############################################################

MACHINE_TYPE=`uname -m` # Used to detect if OS is 64bit or not.
Expand Down
6 changes: 3 additions & 3 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 All @@ -45,7 +45,7 @@ CENTOSSIXVARNISH="http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/va
CENTOSSIXVARNISHLOCAL='http://centminmod.com/centminmodparts/repos/${CENTOSSIXVARNISHFILE}'

CENTOSSIXAXIVOFILE="axivo-release-6-1.noarch.rpm"
CENTOSSIXAXIVO="http://rpm.axivo.com/redhat/${CENTOSSIXAXIVOFILE}"
CENTOSSIXAXIVO="http://rpm.axivo.com/el/${CENTOSSIXAXIVOFILE}"
CENTOSSIXAXIVOLOCAL="http://centminmod.com/centminmodparts/repos/${CENTOSSIXAXIVOFILE}"

PCRELINKFILE="pcre-${NGINX_PCREVER}.tar.gz"
Expand Down
6 changes: 6 additions & 0 deletions inc/downloads.inc
Expand Up @@ -27,6 +27,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 Expand Up @@ -203,6 +204,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 Expand Up @@ -344,6 +346,8 @@ fi
####
# axivo centos 6.x 64bit only

if [[ "$AXIVOREPO_DISABLE" = [nN] ]]; then

if [ ${MACHINE_TYPE} == 'x86_64' ]; then

if [ -s "${CENTOSSIXAXIVOFILE}" ]; then
Expand Down Expand Up @@ -377,6 +381,8 @@ fi

fi

fi # AXIVOREPO_DISABLE

####


Expand Down
5 changes: 4 additions & 1 deletion inc/yumpriorities.inc
Expand Up @@ -335,6 +335,7 @@ fi
}

yumprioraxivo() {
if [[ "$AXIVOREPO_DISABLE" = [nN] ]]; then
cp -p /etc/yum.repos.d/axivo.repo /etc/yum.repos.d/axivo.OLD
if [ -n "$(grep ^priority /etc/yum.repos.d/axivo.repo)" ]
then
Expand All @@ -358,4 +359,6 @@ cecho "*************************************************" $boldgreen
cat /etc/yum.repos.d/axivo.repo
echo ""
fi
}
fi # AXIVOREPO_DISABLE
}

0 comments on commit 56bf24d

Please sign in to comment.