diff --git a/roles/minecraft/templates/recover.sh b/roles/minecraft/templates/recover.sh index 76e4626..d9a0268 100644 --- a/roles/minecraft/templates/recover.sh +++ b/roles/minecraft/templates/recover.sh @@ -46,3 +46,7 @@ if [ -d "var" ]; then # That's heresy rm -rf "/var/minecraft/{{ mcname }}/var" fi +# Remove our old world.tgz +if [ -f "world.tgz" ]; then + rm "/var/minecraft/{{ mcname }}/world.tgz" +fi