Skip to content

Commit

Permalink
Update lib.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 3, 2024
1 parent 979b86b commit 4020ecf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ fi

if [ ! -f /www/server/mdserver-web/bin/activate ];then
if version_ge "$P_VER" "3.11.0" ;then
echo "111"
cd /www/server/mdserver-web && python3 -m venv /www/server/mdserver-web
else
echo "222"
cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt -i $PIPSRC
cd /www/server/mdserver-web && python3 -m venv .
fi
Expand Down

0 comments on commit 4020ecf

Please sign in to comment.