1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 15:20:09 +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
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";