Dont't exit after acme_tiny script is downloaded
This commit is contained in:
parent
6f26522bb9
commit
4772c677f1
@ -42,7 +42,11 @@ fi
|
|||||||
if [ ! -f "$acme_tiny" ]; then
|
if [ ! -f "$acme_tiny" ]; then
|
||||||
echo "Python script acme_tiny.py is missing. Downloading..."
|
echo "Python script acme_tiny.py is missing. Downloading..."
|
||||||
wget -qo $acme_tiny https://raw.githubusercontent.com/diafygi/acme-tiny/4.0.3/acme_tiny.py
|
wget -qo $acme_tiny https://raw.githubusercontent.com/diafygi/acme-tiny/4.0.3/acme_tiny.py
|
||||||
exit 1
|
if [ $? != 0 ]; then
|
||||||
|
echo "Could not download acme_tiny.py script."
|
||||||
|
rm -rf $acme_tiny
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
acme_dir=${acme_dir%/}
|
acme_dir=${acme_dir%/}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user