Skip to content

Commit

Permalink
Update update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Dec 26, 2024
1 parent 20a6ced commit 9e6cc87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/old/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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


Expand Down

0 comments on commit 9e6cc87

Please sign in to comment.