1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 23:27:45 +01:00

Update wgd.sh

This commit is contained in:
Donald Zou 2024-08-16 03:14:03 -04:00
parent 92e3f7a6a3
commit 4c69fd4f60

View File

@ -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";