Update install_dev.sh

pull/387/head
midoks 2 years ago
parent b4c635c2e5
commit a42fae66ac
  1. 6
      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

Loading…
Cancel
Save