From 7657bdb1032fc2fac8473c086a6aa45ded9a0d6a Mon Sep 17 00:00:00 2001 From: Kai Michael Poppe Date: Tue, 15 Dec 2020 21:57:14 +0100 Subject: [PATCH] Add valid_know_packs.json to unzip exclude When the server administrator has added behaviour- and resource packs to the server, they need to made known in valid_known_packs.json, thus that file should not be overwritten, once a new server version gets deployed. --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index d78e6a0..f48efc0 100644 --- a/start.sh +++ b/start.sh @@ -51,7 +51,7 @@ else else echo "New version $DownloadFile is available. Updating Minecraft Bedrock server ..." wget -O "downloads/$DownloadFile" "$DownloadURL" - unzip -o "downloads/$DownloadFile" -x "*server.properties*" "*permissions.json*" "*whitelist.json*" + unzip -o "downloads/$DownloadFile" -x "*server.properties*" "*permissions.json*" "*whitelist.json*" "*valid_known_packs.json*" fi fi