From ccdcfffcaa316d7f6bb98ad0736cc442052996e9 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 25 Jun 2020 08:51:17 -0500 Subject: [PATCH] Force local resolution for tar why the fuck --- roles/minecraft/templates/recover.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/minecraft/templates/recover.sh b/roles/minecraft/templates/recover.sh index 0d83526..f35e0b0 100644 --- a/roles/minecraft/templates/recover.sh +++ b/roles/minecraft/templates/recover.sh @@ -16,7 +16,7 @@ cd "$MINECRAFT_DIR" || exit 50 # If the world directory exists, we need to ensure that we don't clobber it if [ -d "world" ]; then echo "Backing up current world" - tar czf "recover-world-$(date -Iseconds).tar.gz" world --remove-files + tar --force-local czf "recover-world-$(date -Iseconds).tar.gz" world --remove-files fi # If it STILL exists, then we have a problem if [ -d "world" ]; then