diff options
author | Jo Shields <directhex@apebox.org> | 2020-03-11 19:42:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 19:42:11 +0300 |
commit | a15b2a2f23433acfe2370325f0bf4675016500bd (patch) | |
tree | d3e9b9334359f6bd72636ddb6ade2db515bf6722 /eng/install-native-dependencies.sh | |
parent | 99af7453a356b7b564a0d21bf644f164858d1010 (diff) |
Unconditionally upgrade installed Brew packages on OSX (#33481)
With Apt, if you have X 1.0 installed, 1.1 exists in the package manifest, and say "install X", X is upgraded to 1.1. With Brew, a fatal error is thrown.
Blindly upgrading all previously installed packages is not ideal, and not a perfect mirror for the Apt behaviour, but it should mean that if X is previously installed it gets upgraded (causing a warning during install, when it's asked to be installed again with the same version), and if it's not already installed then it gets installed later.
Closes: https://github.com/dotnet/runtime/issues/33471
Diffstat (limited to 'eng/install-native-dependencies.sh')
-rw-r--r-- | eng/install-native-dependencies.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eng/install-native-dependencies.sh b/eng/install-native-dependencies.sh index 71848222774..a73d4918c52 100644 --- a/eng/install-native-dependencies.sh +++ b/eng/install-native-dependencies.sh @@ -11,6 +11,7 @@ if [ "$1" = "Linux" ]; then fi elif [ "$1" = "OSX" ]; then brew update + brew upgrade if [ "$?" != "0" ]; then exit 1; fi |