mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update install.sh
This commit is contained in:
@@ -12,6 +12,11 @@ rootPath=$(dirname "$curPath")
|
||||
rootPath=$(dirname "$rootPath")
|
||||
serverPath=$(dirname "$rootPath")
|
||||
|
||||
if [ -f ${rootPath}/bin/activate ];then
|
||||
source ${rootPath}/bin/activate
|
||||
fi
|
||||
|
||||
|
||||
P_VER=`python3 -V | awk '{print $2}'`
|
||||
echo "python:$P_VER"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user