diff --git a/src/mcbe/Containerfile b/src/mcbe/Containerfile index 698d46e..975f142 100644 --- a/src/mcbe/Containerfile +++ b/src/mcbe/Containerfile @@ -19,7 +19,7 @@ ARG FILESUID=5000 ### # install packages we want -RUN apt update -y && apt install -y libcurl4 +RUN apt update -y && apt install -y libcurl4 zip # create minecraft server user with file owner UID RUN addgroup --gid $FILESUID mcadmin && \ diff --git a/src/mcbe/assets/bin/maint b/src/mcbe/assets/bin/maint index 144054a..a26dc0c 100755 --- a/src/mcbe/assets/bin/maint +++ b/src/mcbe/assets/bin/maint @@ -47,9 +47,9 @@ if [[ 10#$hour -eq 1 ]]; then fi # save daily and longterm backups - rm_ife worlds-daily-$day - mv worlds-hourly-$hour worlds-daily-$day + rm_ife worlds-daily-$day.zip + mv worlds-daily-$day worlds-hourly-$hour if [[ 10#$day -eq 1 ]]; then - mv worlds-daily-$day worlds-$year-$month-$day + mv worlds-daily-$day.zip worlds-$year-$month-$day.zip fi fi