From 9e6cc873cb4da88d306f7e2dc7dad6f9f71aeb97 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 26 Dec 2024 18:06:46 +0800 Subject: [PATCH] Update update.sh --- scripts/old/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/old/update.sh b/scripts/old/update.sh index 251426d4f1..fb9527f913 100644 --- a/scripts/old/update.sh +++ b/scripts/old/update.sh @@ -83,6 +83,8 @@ if [ "$LOCAL_ADDR" != "common" ];then $CP_CMD -rf /tmp/mdserver-web-${VERSION}/* /www/server/mdserver-web rm -rf /tmp/master.zip rm -rf /tmp/mdserver-web-${VERSION} + + pip install -r /www/server/mdserver-web/requirements.txt else # curl --insecure -sSLo /tmp/master.zip https://github.com/midoks/mdserver-web/archive/refs/tags/0.17.3.zip curl --insecure -sSLo /tmp/master.zip https://github.com/midoks/mdserver-web/archive/refs/tags/${VERSION}.zip @@ -91,6 +93,8 @@ else $CP_CMD -rf /tmp/mdserver-web-${VERSION}/* /www/server/mdserver-web rm -rf /tmp/master.zip rm -rf /tmp/mdserver-web-${VERSION} + + pip install -r /www/server/mdserver-web/requirements.txt fi