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 4020ecf commit 3ce92f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ fi

if [ ! -f /www/server/mdserver-web/bin/activate ];then
if version_ge "$P_VER" "3.11.0" ;then
echo "111"
echo "python3 > 3.10"
cd /www/server/mdserver-web && python3 -m venv /www/server/mdserver-web
else
echo "222"
echo "python3 < 3.10"
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 3ce92f2

Please sign in to comment.