aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/servo/bootstrap.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py
index 6e3f9a20b87..a3c5c9efb34 100644
--- a/python/servo/bootstrap.py
+++ b/python/servo/bootstrap.py
@@ -339,7 +339,11 @@ def get_linux_distribution():
else:
major = version
- if major == '20':
+ if major == '22':
+ base_version = '22.04'
+ elif major == '21':
+ base_version = '21.04'
+ elif major == '20':
base_version = '20.04'
elif major == '19':
base_version = '18.04'
@@ -355,7 +359,9 @@ def get_linux_distribution():
else:
major = version
- if major == '21':
+ if major == '22':
+ base_version = '22.04'
+ elif major == '21':
base_version = '21.04'
elif major == '20':
base_version = '20.04'