diff --git a/update b/update index 20200985..22396229 100644 --- a/update +++ b/update @@ -18,8 +18,8 @@ download_and_unzip() { install_backend_and_download_resources() { if download_and_unzip "https://github.com/jxxghp/MoviePilot/archive/refs/${1}" "App"; then echo "后端程序下载成功" - pip install "${PIP_OPTIONS}" --upgrade pip - if pip install "${PIP_OPTIONS}" -r /tmp/App/requirements.txt; then + pip install ${PIP_OPTIONS} --upgrade pip + if pip install ${PIP_OPTIONS} -r /tmp/App/requirements.txt; then echo "安装依赖成功" frontend_version=$(curl ${CURL_OPTIONS} "https://api.github.com/repos/jxxghp/MoviePilot-Frontend/releases/latest" ${CURL_HEADERS} | jq -r .tag_name) if [[ "${frontend_version}" == *v* ]]; then