ubuntu22 优化

pull/117/head
midoks 3 years ago
parent 09797f40e9
commit 0a63366190
  1. 9
      scripts/lib.sh

@ -357,6 +357,10 @@ pip3 install psutil
pip3 install flask-socketio==5.2.0
pip3 install mysqlclient
if [ "$OSNAME" == "ubuntu" ];then
pip3 install -U --force-reinstall --no-binary :all: gevent
fi
if [ ! -f /www/server/mdserver-web/bin/activate ];then
cd /www/server/mdserver-web && python3 -m venv .
cd /www/server/mdserver-web && source /www/server/mdserver-web/bin/activate
@ -380,6 +384,11 @@ pip3 install flask-socketio==5.2.0
pip3 install mysqlclient
if [ "$OSNAME" == "ubuntu" ];then
pip3 install -U --force-reinstall --no-binary :all: gevent
fi
##### common start #####

Loading…
Cancel
Save