Remove all macOS-10.15 related code (#7078)

This commit is contained in:
sergei-pyshnoi
2023-02-13 16:40:48 +01:00
committed by GitHub
parent 539b772d6b
commit 8767a6eb4e
21 changed files with 29 additions and 752 deletions

View File

@@ -8,9 +8,8 @@ psDownloadUrl=$(get_github_package_download_url "PowerShell/PowerShell" "contain
download_with_retries $psDownloadUrl "/tmp" "powershell.pkg"
# Work around the issue on macOS Big Sur 11.5 or higher for possible error message ("can't be opened because Apple cannot check it for malicious software") when installing the package
if ! is_Catalina; then
sudo xattr -rd com.apple.quarantine /tmp/powershell.pkg
fi
sudo xattr -rd com.apple.quarantine /tmp/powershell.pkg
sudo installer -pkg /tmp/powershell.pkg -target /