diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 3b07c966..d91dedfd 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -163,21 +163,8 @@ add_pecl() { add_log "$tick" "PECL" "Added" } -# Function to fetch updated formulas -update_formulae() { - brew_dir=$(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula - for formula in httpd pkg-config apr apr-util argon2 aspell autoconf bison curl-openssl freetds freetype gettext glib gmp icu4c jpeg krb5 libffi libpng libpq libsodium libzip oniguruma openldap openssl@1.1 re2c sqlite tidyp unixodbc webp; do - sudo curl -o "$brew_dir"/"$formula".rb -sSL https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/"$formula".rb & - to_wait+=( $! ) - done - wait "${to_wait[@]}" -} - # Function to setup PHP and composer setup_php() { - if [ "$version" = "8.0" ]; then - update_formulae - fi export HOMEBREW_NO_INSTALL_CLEANUP=TRUE brew tap --shallow shivammathur/homebrew-php brew install shivammathur/php/php@"$version"