Skip to content

Commit c23adde

Browse files
authored
Auto merge of servo#28889 - thomas992:patch-1, r=jdm
Update bootstrap to support Pop!_OS 22.04 Bootstrap downloads dependencies. Updating Pop!_OS and Linux Mint, notable exception being Elementary OS untested <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X ] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors - [X ] These changes fix bootstrap (GitHub issue number if applicable) - thank you!
2 parents 6a87180 + ccc0ce5 commit c23adde

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

python/servo/bootstrap.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,11 @@ def get_linux_distribution():
339339
else:
340340
major = version
341341

342-
if major == '20':
342+
if major == '22':
343+
base_version = '22.04'
344+
elif major == '21':
345+
base_version = '21.04'
346+
elif major == '20':
343347
base_version = '20.04'
344348
elif major == '19':
345349
base_version = '18.04'
@@ -355,7 +359,9 @@ def get_linux_distribution():
355359
else:
356360
major = version
357361

358-
if major == '21':
362+
if major == '22':
363+
base_version = '22.04'
364+
elif major == '21':
359365
base_version = '21.04'
360366
elif major == '20':
361367
base_version = '20.04'

0 commit comments

Comments
 (0)