mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 16:00:28 +01:00
Update wgd.sh
This commit is contained in:
parent
91e3a3237b
commit
80c3a99eb1
@ -104,7 +104,7 @@ _installPythonVenv(){
|
|||||||
if [ "$pythonExecutable" = "python" ]; then
|
if [ "$pythonExecutable" = "python" ]; 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 update; sudo apt-get install $pythonExecutable-venv; printf "\n\n"; } &>> ./log/install.txt
|
{ sudo apt-get update; sudo apt-get install ${pythonExecutable}-venv; printf "\n\n"; } &>> ./log/install.txt
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
centos|fedora|redhat)
|
centos|fedora|redhat)
|
||||||
@ -140,7 +140,7 @@ _installPythonPip(){
|
|||||||
if [ "$pythonExecutable" = "python" ]; then
|
if [ "$pythonExecutable" = "python" ]; 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
|
||||||
{ sudo apt update ; sudo apt-get install -y $pythonExecutable-distutil python3-pip; printf "\n\n"; } &>> ./log/install.txt
|
{ sudo apt update ; sudo apt-get install -y ${pythonExecutable}-distutil python3-pip; printf "\n\n"; } &>> ./log/install.txt
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
centos|fedora|redhat)
|
centos|fedora|redhat)
|
||||||
|
Loading…
Reference in New Issue
Block a user