Commit 857098d1 authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey
Browse files

macOS: add support for BigSur releases

Part-of: <!679>
parent 71cc88cc
Pipeline #276601 passed with stages
in 71 minutes and 5 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment