diff --git a/alist/service.sh b/alist/service.sh index c42c78c..8438606 100644 --- a/alist/service.sh +++ b/alist/service.sh @@ -79,10 +79,7 @@ restart() { } update() { - if ! download_files; then - echo "Failed to download files or no need to update" - return 1 - fi + download_files restart } diff --git a/metadata/Dockerfile b/metadata/Dockerfile index 7bdfbd4..ae06ecd 100644 --- a/metadata/Dockerfile +++ b/metadata/Dockerfile @@ -9,9 +9,7 @@ WORKDIR /media # 设置非交互模式,以避免安装过程中提示用户输入 ARG DEBIAN_FRONTEND=noninteractive -ENV LANG=en_US.UTF-8 \ - LANGUAGE=en_US:zh \ - LC_ALL=en_US.UTF-8 +ENV LANG=en_US.UTF-8 RUN apt-get update && \ apt-get install -y cron locales busybox unzip curl fd-find gzip lsof sqlite3 httpie jq tzdata aria2 p7zip-full && \