Skip to content

Commit

Permalink
Merge branch '123.09beta01'
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Mar 29, 2017
2 parents cced6ea + 5ff3773 commit de8d293
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion centmin.sh
Expand Up @@ -1197,7 +1197,7 @@ fi
################################################################
# SCRIPT START
#
clear
# clear
cecho "**********************************************************************" $boldyellow
cecho "* Centmin Mod Nginx, MariaDB MySQL, PHP & DNS Install script for CentOS" $boldgreen
cecho "* Version: $SCRIPT_VERSION - Date: $SCRIPT_DATE" $boldgreen
Expand Down
2 changes: 1 addition & 1 deletion inc/apcinstall.inc
Expand Up @@ -13,7 +13,7 @@ function funct_apcsourceinstall {
echo "*************************************************"

if [[ "$CLANG_APC" = [yY] ]]; then
if [[ ! -f /usr/bin/clang ]]; then
if [[ "$CENTOS_SIX" = '6' && ! -f /usr/bin/clang ]] || [[ "$CENTOS_SEVEN" = '7' && ! -f /bin/clang ]]; then
yum -q -y install clang clang-devel
fi
export CC="ccache /usr/bin/clang -ferror-limit=0"
Expand Down
4 changes: 2 additions & 2 deletions inc/downloads.inc
Expand Up @@ -564,7 +564,7 @@ libresslgeolocation() {
curl -sI --connect-timeout 5 --max-time 5 "$LIBRESSL_LINK" | grep 'HTTP\/' | grep '200'
LIBRESSL_CURLCHECK=$?
if [[ "$LIBRESSL_CURLCHECK" != '0' ]]; then
LIBRESSL_MIRRORURL="http://openbsd.mirrors.pair.com/LibreSSL"
LIBRESSL_MIRRORURL="http://mirrors.mit.edu/pub/OpenBSD/LibreSSL"
LIBRESSL_LINK="${LIBRESSL_MIRRORURL}/libressl-${LIBRESSL_VERSION}.tar.gz"
curl -sI --connect-timeout 5 --max-time 5 "$LIBRESSL_LINK" | grep 'HTTP\/' | grep '200'
LIBRESSL_CURLCHECK=$?
Expand Down Expand Up @@ -613,7 +613,7 @@ libresslgeolocation() {
curl -sI --connect-timeout 5 --max-time 5 "$LIBRESSL_LINK" | grep 'HTTP\/' | grep '200'
LIBRESSL_CURLCHECK=$?
if [[ "$LIBRESSL_CURLCHECK" != '0' ]]; then
LIBRESSL_MIRRORURL="http://openbsd.mirrors.pair.com/LibreSSL"
LIBRESSL_MIRRORURL="http://mirrors.mit.edu/pub/OpenBSD/LibreSSL"
LIBRESSL_LINK="${LIBRESSL_MIRRORURL}/libressl-${LIBRESSL_VERSION}.tar.gz"
curl -sI --connect-timeout 5 --max-time 5 "$LIBRESSL_LINK" | grep 'HTTP\/' | grep '200'
LIBRESSL_CURLCHECK=$?
Expand Down
2 changes: 1 addition & 1 deletion inc/memcached_install.inc
Expand Up @@ -87,7 +87,7 @@ checkigbinary() {
function funct_memcachedreinstall {

if [[ "$CLANG_MEMCACHED" = [yY] ]]; then
if [[ ! -f /usr/bin/clang ]]; then
if [[ "$CENTOS_SIX" = '6' && ! -f /usr/bin/clang ]] || [[ "$CENTOS_SEVEN" = '7' && ! -f /bin/clang ]]; then
yum -q -y install clang clang-devel
fi
# ccache compiler has some initial overhead for compiles but speeds up subsequent
Expand Down
2 changes: 1 addition & 1 deletion inc/nginx_configure.inc
Expand Up @@ -2014,7 +2014,7 @@ fi
ngxgeoipmemtweak

if [[ "$CLANG" = [yY] ]]; then
if [[ ! -f /usr/bin/clang ]]; then
if [[ "$CENTOS_SIX" = '6' && ! -f /usr/bin/clang ]] || [[ "$CENTOS_SEVEN" = '7' && ! -f /bin/clang ]]; then
yum -q -y install clang clang-devel
fi
if [[ ! -f /opt/rh/devtoolset-4/root/usr/bin/gcc || ! -f /opt/rh/devtoolset-4/root/usr/bin/g++ ]] || [[ ! -f /opt/rh/devtoolset-6/root/usr/bin/gcc || ! -f /opt/rh/devtoolset-6/root/usr/bin/g++ ]]; then
Expand Down
2 changes: 1 addition & 1 deletion inc/openssl_install.inc
Expand Up @@ -221,7 +221,7 @@ installopenssl() {
bash autogen.sh
fi
if [[ "$CLANG" = [yY] ]]; then
if [[ ! -f /usr/bin/clang ]]; then
if [[ "$CENTOS_SIX" = '6' && ! -f /usr/bin/clang ]] || [[ "$CENTOS_SEVEN" = '7' && ! -f /bin/clang ]]; then
yum -q -y install clang clang-devel
fi
# ccache compiler has some initial overhead for compiles but speeds up subsequent
Expand Down
2 changes: 1 addition & 1 deletion inc/php_configure.inc
Expand Up @@ -295,7 +295,7 @@ if [[ "$(grep -c "processor" /proc/cpuinfo)" -lt '2' ]]; then
fi

if [[ "$CLANG_PHP" = [yY] ]]; then
if [[ ! -f /usr/bin/clang ]]; then
if [[ "$CENTOS_SIX" = '6' && ! -f /usr/bin/clang ]] || [[ "$CENTOS_SEVEN" = '7' && ! -f /bin/clang ]]; then
yum -q -y install clang clang-devel
fi
if [[ "$GCCINTEL_PHP" = [yY] ]]; then
Expand Down
3 changes: 2 additions & 1 deletion inc/yuminstall.inc
Expand Up @@ -266,7 +266,8 @@ fi
# remove /tmp/curlinstaller-yum
rm -rf /tmp/curlinstaller-yum

yum -y update
# duplicate
# yum -y update

} 2>&1 | tee ${CENTMINLOGDIR}/centminmod_yumtimes_${DT}.log

Expand Down

0 comments on commit de8d293

Please sign in to comment.