mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +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
|
||||
|
||||
echo "Downloading $match"
|
||||
curl -fsSL -o $SERVER "$downloadUrl"
|
||||
curl -kfsSL -o $SERVER "$downloadUrl"
|
||||
status=$?
|
||||
if [ ! -f $SERVER ]; then
|
||||
echo "ERROR: failed to download from $downloadUrl (status=$status)"
|
||||
|
|
Loading…
Reference in a new issue