mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 07:10:09 +01:00
Update wgd.sh
This commit is contained in:
parent
8f6a738481
commit
fb016bebde
@ -47,7 +47,7 @@ _check_and_set_venv(){
|
|||||||
VIRTUAL_ENV="./venv"
|
VIRTUAL_ENV="./venv"
|
||||||
if [ ! -d $VIRTUAL_ENV ]; then
|
if [ ! -d $VIRTUAL_ENV ]; then
|
||||||
printf "[WGDashboard] Creating Python Virtual Environment under ./venv\n"
|
printf "[WGDashboard] Creating Python Virtual Environment under ./venv\n"
|
||||||
{ $pythonExecutable -m venv $VIRTUAL_ENV; } >> ./log/install.txt
|
{ $pythonExecutable -m venv $VIRTUAL_ENV; } >> ./log/install.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! $venv_python --version > /dev/null 2>&1
|
if ! $venv_python --version > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user