From e15b8f80927ee16ef5a26054ca6083d04a4af15a Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Fri, 16 Aug 2024 17:19:07 -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 390d94a..fddd62f 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -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