mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-29 03:32:20 +02:00
fix: require Python >= 3.10 in remote-install.sh when installing v3
This commit is contained in:
parent
7be135f0ae
commit
be3da6f372
@ -117,8 +117,8 @@ done
|
|||||||
|
|
||||||
if [ "$REPOSITORY" == "ppa-v3" ]
|
if [ "$REPOSITORY" == "ppa-v3" ]
|
||||||
then
|
then
|
||||||
if ! python3 -c 'import sys; assert sys.version_info >= (3,9)' > /dev/null 2>&1; then
|
if ! python3 -c 'import sys; assert sys.version_info >= (3,10)' > /dev/null 2>&1; then
|
||||||
echo "GNS3 version >= 3.0 requires Python 3.9 or later"
|
echo "GNS3 version >= 3.1 requires Python 3.10 or later"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user