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
2e387730cb
commit
dad931e898
@ -23,6 +23,7 @@ install_wgd(){
|
|||||||
version_pass=$(python3 -c 'import sys; print("1") if (sys.version_info.major == 3 and sys.version_info.minor >= 7) else print("0");')
|
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" ]
|
if [ $version_pass == "0" ]
|
||||||
then printf "| Wireguard Dashboard required Python3.7+ |\n"
|
then printf "| Wireguard Dashboard required Python3.7+ |\n"
|
||||||
|
printf "%s\n" "$dashes"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
rm db/hi.txt > /dev/null 2>&1
|
rm db/hi.txt > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user