fix: update curl
This commit is contained in:
parent
9224169f31
commit
751d405aac
2
update
2
update
@ -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 "后端程序下载成功"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user