mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-21 23:01:39 +01:00
Update wgd.sh
This commit is contained in:
parent
e15b8f8092
commit
8207afe806
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user