diff options
author | Botond Hende <nettingman@gmail.com> | 2024-11-25 22:39:53 +0100 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-11-25 22:39:53 +0100 |
commit | 0ab539adec7f441bf9e61199cf5a7cfbef4f5509 (patch) | |
tree | c48d22fa884df71ce13e123f61ea5137d9fd41e7 | |
parent | 0e0bc0275bd7c5967cef6b2e65252e67f6b9ddbd (diff) |
-rwxr-xr-x | update_and_start.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/update_and_start.sh b/update_and_start.sh index 4cba621..1cb96eb 100755 --- a/update_and_start.sh +++ b/update_and_start.sh @@ -16,6 +16,8 @@ if [ \! -f "$BUILD_JSON_PATH" ] || ! grep -q "$LATEST_VER" "$BUILD_JSON_PATH"; t cp "$CONFIG_PATH" "$TEMP_CONFIG_PATH" fi + find "$SERVER_PATH" -mindepth 1 -not -wholename "$SERVER_PATH/data*" -not -wholename "$SERVER_PATH/logs*" -delete + # ARM64 version wget "https://wizards.cdn.spacestation14.com/fork/wizards/version/$LATEST_VER/file/SS14.Server_linux-arm64.zip" -O "$TEMP_ZIP_PATH" |