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
c7824fa184
commit
b4014eb317
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user