mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
fix
This commit is contained in:
@@ -5,7 +5,7 @@ download_and_unzip() {
|
|||||||
url="$1"
|
url="$1"
|
||||||
target_dir="$2"
|
target_dir="$2"
|
||||||
echo "正在下载 ${url}..."
|
echo "正在下载 ${url}..."
|
||||||
curl ${CURL_OPTIONS} "$url" | busybox unzip -d /tmp -
|
curl ${CURL_OPTIONS} "$url" ${CURL_HEADERS} | busybox unzip -d /tmp -
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if [ -e /tmp/MoviePilot-* ]; then
|
if [ -e /tmp/MoviePilot-* ]; then
|
||||||
mv /tmp/MoviePilot-* /tmp/${target_dir}
|
mv /tmp/MoviePilot-* /tmp/${target_dir}
|
||||||
|
|||||||
Reference in New Issue
Block a user