diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index e8abd19aa..f23c74682 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -97,8 +97,10 @@ if [ $OSNAME != "macos" ];then # install acme.sh if [ ! -d /root/.acme.sh ];then - if [ "$HTTP_PREFIX" == "https://ghproxy.com/" ];then - curl -sSL -o /tmp/acme.tar.gz ${HTTP_PREFIX}github.com/acmesh-official/acme.sh/archive/master.tar.gz + if [ "$LOCAL_ADDR" != "common" ];then + # curl -sSL -o /tmp/acme.tar.gz ${HTTP_PREFIX}github.com/acmesh-official/acme.sh/archive/master.tar.gz + curl -sSL -o /tmp/acme.tar.gz https://gitee.com/neilpang/acme.sh/repository/archive/master.zip + tar xvzf /tmp/acme.tar.gz -C /tmp cd /tmp/acme.sh-master bash acme.sh install