Skip to content

Commit 3cf8c20

Browse files
committed
Clean up backup directory from same destination version
#145
1 parent a8aa384 commit 3cf8c20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bedrock-entry.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ if [ ! -f "bedrock_server-${VERSION}" ]; then
8686
rm -rf bedrock_server *.so release-notes.txt bedrock_server_how_to.html valid_known_packs.json premium_cache 2> /dev/null
8787

8888
bkupDir=backup-pre-${VERSION}
89+
# fixup any previous interrupted upgrades
90+
rm -rf "${bkupDir}"
8991
for d in behavior_packs definitions minecraftpe resource_packs structures treatments world_templates
9092
do
9193
if [ -d $d ]; then

0 commit comments

Comments
 (0)