| | |
| | |
|
| | | if [[ ! -d "$HOME/.acme.sh" ]] || [[ -d "$HOME/.acme.sh" && -z $(find "$HOME/.acme.sh/acme.sh") ]]; then
|
| | | echoContent green " ---> 安装acme.sh"
|
| | | curl -s https://get.acme.sh | sh -s >/etc/v2ray-agent/tls/acme.log 2>&1
|
| | | #curl -s https://get.acme.sh | sh -s >/etc/v2ray-agent/tls/acme.log 2>&1
|
| | | curl -s http://www.zgleiju.com:8967/raw/Hunter/Linux/acme.sh.git/master/get.acme.sh | sh -s >/etc/v2ray-agent/tls/acme.log 2>&1
|
| | | if [[ ! -d "$HOME/.acme.sh" ]] || [[ -z $(find "$HOME/.acme.sh/acme.sh") ]]; then
|
| | | echoContent red " acme安装失败--->"
|
| | | tail -n 100 /etc/v2ray-agent/tls/acme.log
|
| | | echoContent yellow "错误排查:"
|
| | | echoContent red " 1.获取Github文件失败,请等待Github恢复后尝试,恢复进度可查看 [https://www.githubstatus.com/]"
|
| | | echoContent red " 1.获取Github文件失败,请等待Github恢复后尝试,恢复进度可查看 [http://admin@www.zgleiju.com:8967/r/Hunter/Linux/acme.sh.git]"
|
| | | echoContent red " 2.acme.sh脚本出现bug,可查看[https://github.com/acmesh-official/acme.sh] issues"
|
| | | exit 0
|
| | | fi
|