> diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh > index 82fa87f97af..cab6e04a358 100755 > --- a/ci/install-dependencies.sh > +++ b/ci/install-dependencies.sh > @@ -37,7 +37,14 @@ macos-latest) > test -z "$BREW_INSTALL_PACKAGES" || > brew install $BREW_INSTALL_PACKAGES > brew link --force gettext > - brew install perforce > + brew install perforce || { > + echo Installing perforce failed, assuming and working around SHA256 mismatch >&2 && > + > + path=$(brew edit --print-path perforce) && > + sed 's/\(sha256.\).*/\1:no_check/' <"$path" >"$path".tmp && > + mv "$path".tmp "$path" && > + brew install perforce brew install $path seems to be a safer way to ensure that brew will use the locally modified cask Carlo