mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Allow bootstrapping on Debian
This commit is contained in:
parent
294f44eca0
commit
40c70bfb28
1 changed files with 7 additions and 1 deletions
|
@ -270,7 +270,13 @@ def bootstrap(context, force=False):
|
|||
bootstrapper = windows_msvc
|
||||
elif "linux-gnu" in host_triple():
|
||||
distro, version, _ = platform.linux_distribution()
|
||||
if distro in ['CentOS', 'CentOS Linux', 'Fedora', 'Ubuntu']:
|
||||
if distro.lower() in [
|
||||
'centos',
|
||||
'centos linux',
|
||||
'debian',
|
||||
'fedora',
|
||||
'ubuntu',
|
||||
]:
|
||||
context.distro = distro
|
||||
bootstrapper = salt
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue