mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-01-06 14:24:50 +08:00
Update wgd.sh
This commit is contained in:
parent
b9832542fb
commit
168412c2e7
1 changed files with 2 additions and 2 deletions
|
@ -160,10 +160,10 @@ _installPythonPip(){
|
|||
fi
|
||||
;;
|
||||
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
|
||||
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
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue