mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
Update wgd.sh
This commit is contained in:
parent
92e3f7a6a3
commit
4c69fd4f60
@ -101,7 +101,7 @@ _installPythonVenv(){
|
|||||||
then
|
then
|
||||||
case "$OS" in
|
case "$OS" in
|
||||||
ubuntu|debian)
|
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
|
{ sudo apt update ; sudo apt-get install -y python3-venv; printf "\n\n"; } &>> ./log/install.txt
|
||||||
else
|
else
|
||||||
sudo apt-get install ${pythonExecutable}-venv
|
sudo apt-get install ${pythonExecutable}-venv
|
||||||
@ -139,7 +139,7 @@ _installPythonPip(){
|
|||||||
then
|
then
|
||||||
case "$OS" in
|
case "$OS" in
|
||||||
ubuntu|debian)
|
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
|
{ sudo apt update ; sudo apt-get install -y python3-pip; printf "\n\n"; } &>> ./log/install.txt
|
||||||
else
|
else
|
||||||
printf "\n\n";
|
printf "\n\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user