mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-15 04:54:55 +00:00
Fix typo: tunity -> tuinity (#951)
This commit is contained in:
+5
-5
@@ -3,16 +3,16 @@
|
|||||||
. ${SCRIPTS:-/}start-utils
|
. ${SCRIPTS:-/}start-utils
|
||||||
|
|
||||||
if [ "${VERSION}" != "LATEST" ]; then
|
if [ "${VERSION}" != "LATEST" ]; then
|
||||||
log "ERROR: Tunity server type only supports VERSION=LATEST"
|
log "ERROR: Tuinity server type only supports VERSION=LATEST"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
: ${TUNITY_BUILD:=lastSuccessfulBuild}
|
: ${TUINITY_BUILD:=lastSuccessfulBuild}
|
||||||
export SERVER=tunity-${VANILLA_VERSION}-${TUNITY_BUILD}.jar
|
export SERVER=tuinity-${VANILLA_VERSION}-${TUINITY_BUILD}.jar
|
||||||
|
|
||||||
if [ ! -f "$SERVER" ] || [ -n "$FORCE_REDOWNLOAD" ]; then
|
if [ ! -f "$SERVER" ] || [ -n "$FORCE_REDOWNLOAD" ]; then
|
||||||
downloadUrl="https://ci.codemc.io/job/Spottedleaf/job/Tuinity/${TUNITY_BUILD}/artifact/tuinity-paperclip.jar"
|
downloadUrl="https://ci.codemc.io/job/Spottedleaf/job/Tuinity/${TUINITY_BUILD}/artifact/tuinity-paperclip.jar"
|
||||||
log "Downloading Tunity (build $TUNITY_BUILD) from $downloadUrl ..."
|
log "Downloading Tuinity (build $TUINITY_BUILD) from $downloadUrl ..."
|
||||||
curl -fsSL -o "$SERVER" "$downloadUrl"
|
curl -fsSL -o "$SERVER" "$downloadUrl"
|
||||||
if [ ! -f "$SERVER" ]; then
|
if [ ! -f "$SERVER" ]; then
|
||||||
log "ERROR: failed to download from $downloadUrl (status=$?)"
|
log "ERROR: failed to download from $downloadUrl (status=$?)"
|
||||||
|
|||||||
Reference in New Issue
Block a user