aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap.py
diff options
context:
space:
mode:
authorDylan Lom <dlom@sdf.org>2020-04-01 10:53:49 +1100
committerDylan Lom <dlom@sdf.org>2020-04-01 11:36:47 +1100
commit16bb61bd5469e429638c5c6b05e650f77de65faf (patch)
treea554865ea5265842a40899b130796b324ed437d5 /python/servo/bootstrap.py
parent75ca3d8198520c1be5fa8218f8b238c7d319d78b (diff)
downloadservo-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.py2
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: