fix: bug
This commit is contained in:
parent
5bac94cbc5
commit
13bb31fd93
4
update
4
update
@ -18,8 +18,8 @@ download_and_unzip() {
|
|||||||
install_backend_and_download_resources() {
|
install_backend_and_download_resources() {
|
||||||
if download_and_unzip "https://github.com/jxxghp/MoviePilot/archive/refs/${1}" "App"; then
|
if download_and_unzip "https://github.com/jxxghp/MoviePilot/archive/refs/${1}" "App"; then
|
||||||
echo "后端程序下载成功"
|
echo "后端程序下载成功"
|
||||||
pip install "${PIP_OPTIONS}" --upgrade pip
|
pip install ${PIP_OPTIONS} --upgrade pip
|
||||||
if pip install "${PIP_OPTIONS}" -r /tmp/App/requirements.txt; then
|
if pip install ${PIP_OPTIONS} -r /tmp/App/requirements.txt; then
|
||||||
echo "安装依赖成功"
|
echo "安装依赖成功"
|
||||||
frontend_version=$(curl ${CURL_OPTIONS} "https://api.github.com/repos/jxxghp/MoviePilot-Frontend/releases/latest" ${CURL_HEADERS} | jq -r .tag_name)
|
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
|
if [[ "${frontend_version}" == *v* ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user