1
0
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:
Donald Cheng Hong Zou 2021-09-03 13:55:03 -04:00
parent c7824fa184
commit b4014eb317

View File

@ -20,7 +20,11 @@ help () {
install_wgd(){ install_wgd(){
minimum_python_version=3.7 minimum_python_version=3.7
python_version=$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[0:2])))') python_version=$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[0:2])))')
echo $python_version>$minimum_python_version if [ $python_version \> $minimum_python_version]
then echo "true"
else
echo "false"
fi