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 17:32:34 -04:00
parent b9832542fb
commit 168412c2e7

View File

@ -160,10 +160,10 @@ _installPythonPip(){
fi fi
;; ;;
centos|fedora|redhat|rhel) centos|fedora|redhat|rhel)
if command -v dnf &> /dev/null; then if [ "$pythonExecutable" = "python3" ]; then
{ sudo dnf install -y python3-pip; printf "\n\n"; } >> ./log/install.txt { sudo dnf install -y python3-pip; printf "\n\n"; } >> ./log/install.txt
else else
{ sudo yum install -y python3-pip printf "\n\n"; } >> ./log/install.txt { sudo dnf install -y ${pythonExecutable}-pip; printf "\n\n"; } >> ./log/install.txt
fi fi
;; ;;
*) *)