File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,20 @@ add_pecl() {
192
192
add_log " $tick " " PECL" " Added"
193
193
}
194
194
195
+ # Function to update dependencies
196
+ update_dependencies () {
197
+ if [ " $version " = ' 8.0' ]; then
198
+ while read -r formula; do
199
+ curl -o " $( brew --prefix) /Homebrew/Library/Taps/homebrew/homebrew-core/Formula/$formula .rb" " ${curl_opts[@]} " " https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/$formula .rb" &
200
+ to_wait+=( $! )
201
+ done < " $( brew --prefix) /Homebrew/Library/Taps/shivammathur/homebrew-php/.github/deps/${ImageOS:? } _${ImageVersion:? } "
202
+ wait " ${to_wait[@]} "
203
+ fi
204
+ }
205
+
195
206
# Function to setup PHP and composer
196
207
setup_php () {
208
+ update_dependencies
197
209
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
198
210
brew tap --shallow shivammathur/homebrew-php
199
211
brew install shivammathur/php/php@" $version "
You can’t perform that action at this time.
0 commit comments