Fix bootstrap error on Ubuntu 20.10

This commit is contained in:
Vincent Ricard 2021-01-14 19:57:27 +01:00
parent 2efc2e2880
commit 02e9fc6ff9

View file

@ -374,7 +374,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 > '20.04':
if version > '20.10':
raise Exception('unsupported version of %s: %s' % (distrib, version))
# Fixme: we should allow checked/supported versions only
elif distrib.lower() not in [