mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
Use cURL insecurely when downloading
This fixes an error caused by the expired certificate on ci.mcadmin.net.
This commit is contained in:
parent
d86f034e96
commit
7bb397a031
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ function downloadSpigot {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Downloading $match"
|
echo "Downloading $match"
|
||||||
curl -fsSL -o $SERVER "$downloadUrl"
|
curl -kfsSL -o $SERVER "$downloadUrl"
|
||||||
status=$?
|
status=$?
|
||||||
if [ ! -f $SERVER ]; then
|
if [ ! -f $SERVER ]; then
|
||||||
echo "ERROR: failed to download from $downloadUrl (status=$status)"
|
echo "ERROR: failed to download from $downloadUrl (status=$status)"
|
||||||
|
|
Loading…
Reference in a new issue