Skip to content

Commit

Permalink
Fallback to pecl in add_brew_extension on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Oct 1, 2023
1 parent 92e992b commit e70f6d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scripts/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ add_brew_extension() {
sudo mv "$tap_dir"/"$ext_tap"/.github/deps/"$formula"/* "${core_repo:?}/Formula/" 2>/dev/null || true
update_dependencies >/dev/null 2>&1
disable_dependency_extensions "$extension" >/dev/null 2>&1
brew install -f "$ext_tap/$formula@$version" >/dev/null 2>&1
copy_brew_extensions "$formula"
(brew install -f "$ext_tap/$formula@$version" >/dev/null 2>&1 && copy_brew_extensions "$formula") || pecl_install "$extension" >/dev/null 2>&1
add_extension_log "$extension" "Installed and enabled"
fi
}
Expand Down

0 comments on commit e70f6d9

Please sign in to comment.