fix 自动更新时重新安装依赖
This commit is contained in:
parent
4cfa051dfc
commit
cc545490cd
2
update
2
update
@ -33,6 +33,8 @@ if [[ "${old_version}" == *APP_VERSION* ]]; then
|
|||||||
mv /tmp/MoviePilot* /app
|
mv /tmp/MoviePilot* /app
|
||||||
rm -rf /public
|
rm -rf /public
|
||||||
mv /tmp/dist /public
|
mv /tmp/dist /public
|
||||||
|
# 重新安装依赖
|
||||||
|
pip install -r /app/requirements.txt
|
||||||
echo "程序更新成功,前端版本:${frontend_version},后端版本:${release_version}"
|
echo "程序更新成功,前端版本:${frontend_version},后端版本:${release_version}"
|
||||||
else
|
else
|
||||||
echo "前端程序下载失败,继续使用旧的程序来启动..."
|
echo "前端程序下载失败,继续使用旧的程序来启动..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user