From b93f43f6feacbedaa35e25b31b75d225ef0a7bb5 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 1 Aug 2020 20:52:33 -0400 Subject: [PATCH] Add plugin req --- acme-cpanel.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acme-cpanel.sh b/acme-cpanel.sh index ece59ea..6ce63a9 100755 --- a/acme-cpanel.sh +++ b/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 }