mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
Add support for Debian in mach bootstrap
This commit is contained in:
parent
75ca3d8198
commit
16bb61bd54
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def run_as_root(command, force=False):
|
||||||
def install_linux_deps(context, pkgs_ubuntu, pkgs_fedora, force):
|
def install_linux_deps(context, pkgs_ubuntu, pkgs_fedora, force):
|
||||||
install = False
|
install = False
|
||||||
pkgs = []
|
pkgs = []
|
||||||
if context.distro == 'Ubuntu':
|
if context.distro in ['Ubuntu', 'Debian GNU/Linux']:
|
||||||
command = ['apt-get', 'install']
|
command = ['apt-get', 'install']
|
||||||
pkgs = pkgs_ubuntu
|
pkgs = pkgs_ubuntu
|
||||||
if subprocess.call(['dpkg', '-s'] + pkgs, stdout=PIPE, stderr=PIPE) != 0:
|
if subprocess.call(['dpkg', '-s'] + pkgs, stdout=PIPE, stderr=PIPE) != 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue