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
92e3f7a6a3
commit
4c69fd4f60
@ -101,7 +101,7 @@ _installPythonVenv(){
|
||||
then
|
||||
case "$OS" in
|
||||
ubuntu|debian)
|
||||
if [ "$pythonExecutable" = "python" ]; then
|
||||
if [ "$pythonExecutable" = "python3" ]; then
|
||||
{ sudo apt update ; sudo apt-get install -y python3-venv; printf "\n\n"; } &>> ./log/install.txt
|
||||
else
|
||||
sudo apt-get install ${pythonExecutable}-venv
|
||||
@ -139,7 +139,7 @@ _installPythonPip(){
|
||||
then
|
||||
case "$OS" in
|
||||
ubuntu|debian)
|
||||
if [ "$pythonExecutable" = "python" ]; then
|
||||
if [ "$pythonExecutable" = "python3" ]; then
|
||||
{ sudo apt update ; sudo apt-get install -y python3-pip; printf "\n\n"; } &>> ./log/install.txt
|
||||
else
|
||||
printf "\n\n";
|
||||
|
Loading…
Reference in New Issue
Block a user