chore: download the current acme-tiny version if needed
This commit is contained in:
parent
1c63e6d4e9
commit
af4a98eea5
@ -45,7 +45,7 @@ main() {
|
|||||||
|
|
||||||
if [ ! -s "$acme_tiny" ]; then
|
if [ ! -s "$acme_tiny" ]; then
|
||||||
echo -n "Python script acme_tiny.py is missing. Downloading... "
|
echo -n "Python script acme_tiny.py is missing. Downloading... "
|
||||||
wget -qO "$acme_tiny" https://raw.githubusercontent.com/diafygi/acme-tiny/4.1.0/acme_tiny.py
|
wget -qO "$acme_tiny" https://raw.githubusercontent.com/diafygi/acme-tiny/5.0.1/acme_tiny.py
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo -ne "\nCould not download acme_tiny.py script.\n"
|
echo -ne "\nCould not download acme_tiny.py script.\n"
|
||||||
rm -f "$acme_tiny"
|
rm -f "$acme_tiny"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user