mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix update shell
This commit is contained in:
@@ -66,7 +66,7 @@ function install_backend_and_download_resources() {
|
|||||||
fi
|
fi
|
||||||
INFO "安装依赖成功"
|
INFO "安装依赖成功"
|
||||||
# 从后端文件中读取前端版本号
|
# 从后端文件中读取前端版本号
|
||||||
frontend_version=$(grep -oP "(?<=FRONTEND_VERSION\s*=\s*')[^']+" /tm/App/version.py)
|
frontend_version=$(sed -n "s/^FRONTEND_VERSION\s*=\s*'\([^']*\)'/\1/p" /tmp/app/version.py)
|
||||||
if [[ "${frontend_version}" != *v* ]]; then
|
if [[ "${frontend_version}" != *v* ]]; then
|
||||||
WARN "前端最新版本号获取失败,继续启动..."
|
WARN "前端最新版本号获取失败,继续启动..."
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user