Update to 1.24.0

This commit is contained in:
Roger 2024-11-24 19:57:10 -05:00
parent 2d218d9299
commit 6bdff99c8c
3 changed files with 6 additions and 6 deletions

View file

@ -12,10 +12,10 @@ else
exit 99
fi
if ! [[ -f 'Server-Files-1.23.0.zip' ]]; then
if ! [[ -f 'Server-Files-1.24.0.zip' ]]; then
rm -fr config defaultconfigs kubejs mods packmenu Simple.zip forge*
curl -Lo 'Server-Files-1.23.0.zip' 'https://edge.forgecdn.net/files/5929/640/Server-Files-1.23.zip' || exit 9
unzip -u -o 'Server-Files-1.23.0.zip' -d /data
curl -Lo 'Server-Files-1.24.0.zip' 'https://edge.forgecdn.net/files/5932/372/Server-Files-1.24.zip' || exit 9
unzip -u -o 'Server-Files-1.24.0.zip' -d /data
DIR_TEST=$(find . -type d -maxdepth 1 | tail -1 | sed 's/^.\{2\}//g')
if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then
cd "${DIR_TEST}"