From 8207afe806c3e946f392a757e2827f2190b50757 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Fri, 16 Aug 2024 17:20:05 -0400 Subject: [PATCH] Update wgd.sh --- src/wgd.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wgd.sh b/src/wgd.sh index fddd62f..73d3d82 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -142,7 +142,7 @@ _installPythonPip(){ { sudo apt update ; sudo apt-get install -y ${pythonExecutable}-distutil python3-pip; printf "\n\n"; } &>> ./log/install.txt fi ;; - centos|fedora|redhat) + centos|fedora|redhat|rehl) if command -v dnf &> /dev/null; then { sudo dnf install -y python3-pip; printf "\n\n"; } >> ./log/install.txt else @@ -151,7 +151,6 @@ _installPythonPip(){ ;; *) printf "[WGDashboard] %s Sorry, your OS is not supported. Currently the install script only support Debian-based, Red Hat-based OS.\n" "$heavy_crossmark" - printf "%s\n" "$OS" printf "%s\n" "$helpMsg" kill $TOP_PID ;;