From b8be36016ee97ab2d8e71465dff1aa1f3211cb5a Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 27 Jun 2020 21:16:03 -0500 Subject: [PATCH] Adjusted unzip exclusions for new containers Fixes #75 --- bedrock-entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bedrock-entry.sh b/bedrock-entry.sh index 4c4a663..b46baa0 100755 --- a/bedrock-entry.sh +++ b/bedrock-entry.sh @@ -72,7 +72,7 @@ if [ ! -f "bedrock_server-${VERSION}" ]; then done # ... overwrite all game files, except config files - unzip -q ${TMP_ZIP} -x server.properties whitelist.json permissions.json + unzip -q ${TMP_ZIP} -x $(ls server.properties whitelist.json permissions.json 2> /dev/null) rm ${TMP_ZIP} chmod +x bedrock_server