aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap.py
diff options
context:
space:
mode:
authorThomas Hansen <31554741+thomas992@users.noreply.github.com>2022-04-29 12:24:05 -0400
committerGitHub <noreply@github.com>2022-04-29 12:24:05 -0400
commitccc0ce5578652425ae42e87fca7d3b659987b7bd (patch)
tree3a9fbca9953e1f9990ea2500a8d0e16fc99d6e43 /python/servo/bootstrap.py
parent6a871808e893c3b9f4dffde1abacff7898c2612f (diff)
downloadservo-ccc0ce5578652425ae42e87fca7d3b659987b7bd.tar.gz
servo-ccc0ce5578652425ae42e87fca7d3b659987b7bd.zip
Update bootstrap to support Pop!_OS 22.04
linux mint kde neon too
Diffstat (limited to 'python/servo/bootstrap.py')
-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'