Update to 1.24.0
This commit is contained in:
parent
2d218d9299
commit
6bdff99c8c
3 changed files with 6 additions and 6 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue