From 01d5b75d90f1f15ffc919184388a06952c003fa0 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 19 May 2024 22:15:43 +0800 Subject: [PATCH] Update install.sh --- plugins/sphinx/install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/sphinx/install.sh b/plugins/sphinx/install.sh index 054761d46..5f9b457c5 100755 --- a/plugins/sphinx/install.sh +++ b/plugins/sphinx/install.sh @@ -89,11 +89,7 @@ Install_sphinx() echo "${SPHINX_DIR}/${FILE_TGZ}" if [ ! -f ${SPHINX_DIR}/${FILE_TGZ} ];then - if [ $sysName == 'Darwin' ]; then - wget -O ${SPHINX_DIR}/${FILE_TGZ} http://sphinxsearch.com/files/${FILE_TGZ} - else - curl -sSLo ${SPHINX_DIR}/${FILE_TGZ} http://sphinxsearch.com/files/${FILE_TGZ} - fi + wget --no-check-certificate -O ${SPHINX_DIR}/${FILE_TGZ} http://sphinxsearch.com/files/${FILE_TGZ} fi # if [ ! -f ${SPHINX_DIR}/sphinx-${VERSION}.tar.gz ];then