mirror of
https://github.com/servo/servo.git
synced 2025-06-29 11:33:39 +01:00
fix: adding a check for Linux Mint with a space
This commit is contained in:
parent
812ca3b4f2
commit
477cb8c181
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue