diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2021-02-11 12:37:44 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2021-02-11 12:37:44 +0100 |
commit | 857098d192a4bd9485eba7b97164e2e7e2d43189 (patch) | |
tree | a4061b7654edaaad25b7ab6be0804507fffb6473 | |
parent | 71cc88cc9910e043659077213d2f31d09c9d94f6 (diff) |
macOS: add support for BigSur releases
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/679>
-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 081b392d..7effed97 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -353,7 +353,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 |