mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-01-06 22:32:58 +08:00
Update wgd.sh
This commit is contained in:
parent
e6c99028d6
commit
e15b8f8092
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ _installPython(){
|
|||
ubuntu|debian)
|
||||
{ sudo apt update ; sudo apt-get install -y python3 net-tools; printf "\n\n"; } &>> ./log/install.txt
|
||||
;;
|
||||
centos|fedora|redhat)
|
||||
centos|fedora|redhat|rehl)
|
||||
if command -v dnf &> /dev/null; then
|
||||
{ sudo dnf install -y python3 net-tools; printf "\n\n"; } >> ./log/install.txt
|
||||
else
|
||||
|
@ -104,7 +104,7 @@ _installPythonVenv(){
|
|||
ubuntu|debian)
|
||||
{ sudo apt update ; sudo apt-get install -y python3-venv; printf "\n\n"; } &>> ./log/install.txt
|
||||
;;
|
||||
centos|fedora|redhat)
|
||||
centos|fedora|redhat|rehl)
|
||||
if command -v dnf &> /dev/null; then
|
||||
{ sudo dnf install -y python3-virtualenv; printf "\n\n"; } >> ./log/install.txt
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue