Skip to content

Commit cc54549

Browse files
committed
fix 自动更新时重新安装依赖
1 parent 4cfa051 commit cc54549

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

update

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ if [[ "${old_version}" == *APP_VERSION* ]]; then
3333
mv /tmp/MoviePilot* /app
3434
rm -rf /public
3535
mv /tmp/dist /public
36+
# 重新安装依赖
37+
pip install -r /app/requirements.txt
3638
echo "程序更新成功,前端版本:${frontend_version},后端版本:${release_version}"
3739
else
3840
echo "前端程序下载失败,继续使用旧的程序来启动..."

0 commit comments

Comments
 (0)