1
0
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:
Donald Zou 2024-08-16 03:10:26 -04:00
parent 91e3a3237b
commit 80c3a99eb1

View File

@ -104,7 +104,7 @@ _installPythonVenv(){
if [ "$pythonExecutable" = "python" ]; then
{ sudo apt update ; sudo apt-get install -y python3-venv; printf "\n\n"; } &>> ./log/install.txt
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
;;
centos|fedora|redhat)
@ -140,7 +140,7 @@ _installPythonPip(){
if [ "$pythonExecutable" = "python" ]; then
{ sudo apt update ; sudo apt-get install -y python3-pip; printf "\n\n"; } &>> ./log/install.txt
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
;;
centos|fedora|redhat)