mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -103,6 +103,15 @@ Install_openresty()
|
|||||||
# OPENSSL_LIB_DEPEND_DIR=`brew info openssl@1.1 | grep ${BREW_DIR}/Cellar/openssl@1.1 | cut -d \ -f 1 | awk 'END {print}'`
|
# OPENSSL_LIB_DEPEND_DIR=`brew info openssl@1.1 | grep ${BREW_DIR}/Cellar/openssl@1.1 | cut -d \ -f 1 | awk 'END {print}'`
|
||||||
# OPTIONS="${OPTIONS} --with-openssl=${OPENSSL_LIB_DEPEND_DIR}"
|
# OPTIONS="${OPTIONS} --with-openssl=${OPENSSL_LIB_DEPEND_DIR}"
|
||||||
else
|
else
|
||||||
|
if [ ! -f ${openrestyDir}/pcre-${pcreVersion}.tar.gz ];then
|
||||||
|
wget --no-check-certificate -O ${openrestyDir}/pcre-${pcreVersion}.tar.gz https://netix.dl.sourceforge.net/project/pcre/pcre/${pcreVersion}/pcre-${pcreVersion}.tar.gz
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d ${openrestyDir}/pcre-${pcreVersion} ];then
|
||||||
|
cd ${openrestyDir} && tar -zxvf pcre-${pcreVersion}.tar.gz
|
||||||
|
fi
|
||||||
|
OPTIONS="${OPTIONS} --with-pcre=${openrestyDir}/pcre-${pcreVersion}"
|
||||||
|
|
||||||
if [ ! -f ${openrestyDir}/openssl-${opensslVersion}.tar.gz ];then
|
if [ ! -f ${openrestyDir}/openssl-${opensslVersion}.tar.gz ];then
|
||||||
wget --no-check-certificate -O ${openrestyDir}/openssl-${opensslVersion}.tar.gz https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz
|
wget --no-check-certificate -O ${openrestyDir}/openssl-${opensslVersion}.tar.gz https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user