diff options
author | Dylan Lom <dlom@sdf.org> | 2020-04-01 10:53:49 +1100 |
---|---|---|
committer | Dylan Lom <dlom@sdf.org> | 2020-04-01 11:36:47 +1100 |
commit | 16bb61bd5469e429638c5c6b05e650f77de65faf (patch) | |
tree | a554865ea5265842a40899b130796b324ed437d5 /python/servo/bootstrap.py | |
parent | 75ca3d8198520c1be5fa8218f8b238c7d319d78b (diff) | |
download | servo-16bb61bd5469e429638c5c6b05e650f77de65faf.tar.gz servo-16bb61bd5469e429638c5c6b05e650f77de65faf.zip |
Add support for Debian in mach bootstrap
Diffstat (limited to 'python/servo/bootstrap.py')
-rw-r--r-- | python/servo/bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py index 9291ce87e3f..fa8fa7488ed 100644 --- a/python/servo/bootstrap.py +++ b/python/servo/bootstrap.py @@ -64,7 +64,7 @@ def run_as_root(command, force=False): def install_linux_deps(context, pkgs_ubuntu, pkgs_fedora, force): install = False pkgs = [] - if context.distro == 'Ubuntu': + if context.distro in ['Ubuntu', 'Debian GNU/Linux']: command = ['apt-get', 'install'] pkgs = pkgs_ubuntu if subprocess.call(['dpkg', '-s'] + pkgs, stdout=PIPE, stderr=PIPE) != 0: |