Update bootstrap.py

support Ubuntu 22.04
This commit is contained in:
sagu 2022-08-27 12:21:19 +02:00 committed by GitHub
parent 55ca150c72
commit 0e462a851b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,7 +382,7 @@ def get_linux_distribution():
raise Exception('unsupported version of %s: %s' % (distrib, version))
distrib, version = 'Ubuntu', base_version
elif distrib.lower() == 'ubuntu':
if version > '21.10':
if version > '22.04':
raise Exception('unsupported version of %s: %s' % (distrib, version))
# Fixme: we should allow checked/supported versions only
elif distrib.lower() not in [