Skip to content

Commit

Permalink
Merge pull request #208 from monlor/test
Browse files Browse the repository at this point in the history
fix: 🐛 解决alist无法更新的问题
  • Loading branch information
monlor authored Jul 17, 2024
2 parents 49c9d23 + 875d1ff commit 19ba93b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions alist/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 1 addition & 3 deletions metadata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 19ba93b

Please sign in to comment.