From 3b49c32386f55d969d0449587a60488f5c42b880 Mon Sep 17 00:00:00 2001 From: aivins Date: Sat, 27 Jun 2020 06:04:35 +0800 Subject: [PATCH] Update bedrock-entry.sh (#73) --- bedrock-entry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bedrock-entry.sh b/bedrock-entry.sh index 17cb497..4c4a663 100755 --- a/bedrock-entry.sh +++ b/bedrock-entry.sh @@ -71,8 +71,8 @@ if [ ! -f "bedrock_server-${VERSION}" ]; then fi done - # ... use -n to avoid overwriting any existing files with the archive's copy - unzip -n -q ${TMP_ZIP} + # ... overwrite all game files, except config files + unzip -q ${TMP_ZIP} -x server.properties whitelist.json permissions.json rm ${TMP_ZIP} chmod +x bedrock_server