mirror of
https://github.com/servo/servo.git
synced 2025-07-17 12:23:40 +01:00
Warning instead of exception on unsupported Ubuntu
This commit is contained in:
parent
8e300ca5bd
commit
73bd128d44
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ def get_linux_distribution():
|
|||
distrib, version = 'Ubuntu', base_version
|
||||
elif distrib.lower() == 'ubuntu':
|
||||
if version > '22.04':
|
||||
raise Exception('unsupported version of %s: %s' % (distrib, version))
|
||||
print('WARNING: unsupported version of %s: %s' % (distrib, version))
|
||||
# Fixme: we should allow checked/supported versions only
|
||||
elif distrib.lower() not in [
|
||||
'centos',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue