mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-20 16:26:23 +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:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user