mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
parent
b9f247728f
commit
ae9109e2bf
@ -68,7 +68,7 @@ function downloadSpigot {
|
||||
downloadUrl=$(cat /tmp/versions | jq -r ".[] | select(.version == \"$match\") | .downloadUrl")
|
||||
if [[ -n $downloadUrl ]]; then
|
||||
echo "Downloading $match"
|
||||
curl -o $SERVER -sSL "x$downloadUrl"
|
||||
curl -o $SERVER -sSL "$downloadUrl"
|
||||
status=$?
|
||||
if [ $status != 0 ]; then
|
||||
echo "ERROR: failed to download from $downloadUrl due to (curl error code was $status)"
|
||||
|
Loading…
Reference in New Issue
Block a user