diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2021-02-11 12:37:44 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-02-16 11:23:49 +0000 |
commit | 8bacbb6d661d67f93497d21342e59410fea0f842 (patch) | |
tree | 8814b30fa095f7ec2a2b034b31ca039ad0261f46 | |
parent | a86b642a1160d2bc400ff14e0d65b8a590caa547 (diff) |
macOS: add support for BigSur releases
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/681>
-rw-r--r-- | cerbero/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index d5ec0ece..1a9cbdde 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -333,7 +333,7 @@ Terminating.''', file=sys.stderr) elif platform == Platform.DARWIN: distro = Distro.OS_X ver = pplatform.mac_ver()[0] - if ver.startswith(('11.0', '10.16')): + if ver.startswith(('11.', '10.16')): distro_version = DistroVersion.OS_X_BIG_SUR elif ver.startswith('10.15'): distro_version = DistroVersion.OS_X_CATALINA |