Skip to content

Commit

Permalink
fix: 🐛 解决alist无法更新的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed Jul 17, 2024
1 parent 800a177 commit 875d1ff
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 875d1ff

Please sign in to comment.