mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +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
|
{ sudo apt update ; sudo apt-get install -y ${pythonExecutable}-distutil python3-pip; printf "\n\n"; } &>> ./log/install.txt
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
centos|fedora|redhat)
|
centos|fedora|redhat|rehl)
|
||||||
if command -v dnf &> /dev/null; then
|
if command -v dnf &> /dev/null; then
|
||||||
{ sudo dnf install -y python3-pip; printf "\n\n"; } >> ./log/install.txt
|
{ sudo dnf install -y python3-pip; printf "\n\n"; } >> ./log/install.txt
|
||||||
else
|
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 "[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"
|
printf "%s\n" "$helpMsg"
|
||||||
kill $TOP_PID
|
kill $TOP_PID
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user