瀏覽代碼

Add plugin req

bryan 4 年之前
父節點
當前提交
b93f43f6fe
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      acme-cpanel.sh

+ 2 - 0
acme-cpanel.sh

@@ -90,6 +90,8 @@ get_acme() {
     curl https://get.acme.sh | sh
     source "$HOME/.bashrc"
     "$HOME/.acme.sh/acme.sh" --upgrade --auto-upgrade
+    [[ "$METHOD" == "dns" ]] && \
+        curl -o "$HOME/.acme.sh/dnsapi/dns_cpaneldns.sh" https://raw.githubusercontent.com/cryobry/dns_cpaneldns/master/dns_cpaneldns.sh
 }