bootstrap: add support for Ubuntu 21.04

Signed-off-by: Tristan Matthews <tmatth@videolan.org>
This commit is contained in:
Tristan Matthews 2021-07-02 01:21:56 -04:00
parent 6dc6dc7eb7
commit 6b22411aab

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