test
This commit is contained in:
@@ -23,16 +23,16 @@ else
|
||||
DL_URL="$(echo "$JSON" | jq -r --arg version "$LAT_V" '.*.linuxserver.urls.cdn')"
|
||||
fi
|
||||
|
||||
if [ -z "$DL_URL" ]; then
|
||||
if [ -z "$CUR_V" ]; then
|
||||
echo " "
|
||||
echo "WARNING ! Something went wrong, can't get latest version and found no local version, putting server into sleep mode!---"
|
||||
sleep infinity
|
||||
fi
|
||||
echo " "
|
||||
echo "INFO ! Can't get lateste version but found local version, continuing with local version..."
|
||||
LAT_V="$CUR_V"
|
||||
fi
|
||||
# if [ -z "$DL_URL" ]; then
|
||||
# if [ -z "$CUR_V" ]; then
|
||||
# echo " "
|
||||
# echo "WARNING ! Something went wrong, can't get latest version and found no local version, putting server into sleep mode!---"
|
||||
# sleep infinity
|
||||
# fi
|
||||
# echo " "
|
||||
# echo "INFO ! Can't get lateste version but found local version, continuing with local version..."
|
||||
# LAT_V="$CUR_V"
|
||||
# fi
|
||||
|
||||
VS_SERVER_FILE=https://cdn.vintagestory.at/gamefiles/$VS_CHANNEL/vs_server_linux-x64_$VS_VERSION.tar.gz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user