fix: update curl

This commit is contained in:
DDSRem 2023-09-02 11:15:44 +08:00
parent 9224169f31
commit 751d405aac

2
update
View File

@ -10,7 +10,7 @@ else
fi fi
if [ "${MOVIEPILOT_AUTO_UPDATE}" = "true" ]; then if [ "${MOVIEPILOT_AUTO_UPDATE}" = "true" ]; then
curl -sL ${CURL_OPTIONS} "https://github.com/jxxghp/MoviePilot/archive/refs/heads/main.zip" | busybox unzip -d /tmp - curl ${CURL_OPTIONS} "https://github.com/jxxghp/MoviePilot/archive/refs/heads/main.zip" | busybox unzip -d /tmp -
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
mv /tmp/MoviePilot-main /tmp/app mv /tmp/MoviePilot-main /tmp/app
echo "后端程序下载成功" echo "后端程序下载成功"