diff --git a/renew_cert.sh b/renew_cert.sh index a8b6f52..5952af6 100644 --- a/renew_cert.sh +++ b/renew_cert.sh @@ -44,10 +44,10 @@ fi if [ ! -s "$acme_tiny" ]; then echo -n "Python script acme_tiny.py is missing. Downloading... " - wget -qO "$acme_tiny" https://raw.githubusercontent.com/diafygi/acme-tiny/4.0.4/acme_tiny.py + wget -qO "$acme_tiny" https://raw.githubusercontent.com/diafygi/acme-tiny/4.1.0/acme_tiny.py if [ $? != 0 ]; then echo -ne "\nCould not download acme_tiny.py script.\n" - rm -rf "$acme_tiny" + rm -f "$acme_tiny" exit 1 fi echo -ne "Finished\n"