Skip to content

Commit

Permalink
Update wgd.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldzou committed Sep 3, 2021
1 parent 0b4b48c commit 7e39eed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wgd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
app_name="dashboard.py"
app_official_name="Wireguard Dashboard"
dashes='------------------------------------------------------------'
equals='============================================================'
help () {
printf "<Wireguard Dashboard> by Donald Zou - https://github.com/donaldzou \n"
printf "Usage: ./wgd.sh <option>"
Expand All @@ -18,7 +19,6 @@ help () {
}

install_wgd(){
printf "%s\n" "$dashes"
# Check Python3 version
version_pass=$(python3 -c 'import sys; print("1") if (sys.version_info.major == 3 and sys.version_info.minor >= 7) else print("0");')
if [ $version_pass == "0" ]
Expand All @@ -35,7 +35,6 @@ install_wgd(){
printf "| Wireguard Dashboard installed successfully! |\n"
printf "| Starting Dashboard |\n"
start_wgd
printf "%s\n" "$dashes"
}


Expand Down

0 comments on commit 7e39eed

Please sign in to comment.