From 4c69fd4f604d740c835f3f8274bead08a1432956 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Fri, 16 Aug 2024 03:14:03 -0400 Subject: [PATCH] Update wgd.sh --- src/wgd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wgd.sh b/src/wgd.sh index 06678e2..ca3074a 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -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";