diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 9ea3acab..955e1eb0 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -142,6 +142,10 @@ update_dependencies() { to_wait+=($!) done <"$tap_dir/shivammathur/homebrew-php/.github/deps/${ImageOS:?}_${ImageVersion:?}" wait "${to_wait[@]}" + + # Remove when PCRE2 on macOS images is updated to PCRE2 10.37 + brew reinstall pcre2 >/dev/null 2>&1 + echo '' | sudo tee /tmp/update_dependencies >/dev/null 2>&1 fi }