From 477cb8c1815a0a81ab4633b192e5781561db3b62 Mon Sep 17 00:00:00 2001 From: Gabe Martin Date: Fri, 1 Nov 2019 09:27:50 -0400 Subject: [PATCH] fix: adding a check for Linux Mint with a space --- python/servo/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py index f240131f30a..3a01f666a56 100644 --- a/python/servo/bootstrap.py +++ b/python/servo/bootstrap.py @@ -348,7 +348,7 @@ def get_linux_distribution(): distrib = six.ensure_str(distrib) version = six.ensure_str(version) - if distrib == 'LinuxMint': + if distrib == 'LinuxMint' or distrib == 'Linux Mint': if '.' in version: major, _ = version.split('.', 1) else: