Update install_dev.sh

pull/382/head
midoks 2 years ago
parent f161f24253
commit ca13e8ad77
  1. 4
      scripts/install_dev.sh

@ -84,8 +84,8 @@ if [ $OSNAME != "macos" ];then
# install acme.sh
if [ ! -d /root/.acme.sh ];then
if [ ! -z "$cn" ];then
curl -sSL -o /tmp/acme.tar.gz https://ghproxy.com/github.com/acmesh-official/acme.sh/archive/master.tar.gz
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
tar xvzf /tmp/acme.tar.gz -C /tmp
cd /tmp/acme.sh-master
bash acme.sh install

Loading…
Cancel
Save