From 80c3a99eb17138daa4831f95b5edcc68a5aa11d7 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Fri, 16 Aug 2024 03:10:26 -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 3891cfd..c294883 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -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)