Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
c3231a40
Unverified
Commit
c3231a40
authored
4 years ago
by
Maxim Belkin
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply Mike's suggestions
Co-authored-by:
Mike McQuaid
<
mike@mikemcquaid.com
>
parent
fd08ffdd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/cmd/update.sh
+3
-2
3 additions, 2 deletions
Library/Homebrew/cmd/update.sh
with
3 additions
and
2 deletions
Library/Homebrew/cmd/update.sh
+
3
−
2
View file @
c3231a40
...
...
@@ -368,10 +368,11 @@ user account:
EOS
fi
# we may want to use a Homebrew curl
if
[[
-n
"
$HOMEBREW_FORCE_BREWED_CURL
"
&&
!
-x
"
$HOMEBREW_PREFIX
/opt/curl/bin/curl"
]]
then
ohai
"I
nstall
ing
Homebrew cURL
"
# we cannot i
nstall
a
Homebrew cURL
if homebrew/core is unavailable.
if
[[
-d
"
$HOMEBREW_LIBRARY
/Taps/homebrew/homebrew-core"
]]
&&
!
brew
install
curl
then
odie
"Curl must be installed and in your PATH!"
...
...
@@ -382,7 +383,7 @@ EOS
[[
-n
"
$HOMEBREW_FORCE_BREWED_GIT
"
&&
!
-x
"
$HOMEBREW_PREFIX
/opt/git/bin/git"
]]
then
ohai
"I
nstall
ing
Homebrew Git
"
# we cannot i
nstall
a
Homebrew Git
if homebrew/core is unavailable.
if
[[
-d
"
$HOMEBREW_LIBRARY
/Taps/homebrew/homebrew-core"
]]
&&
!
brew
install
git
then
odie
"Git must be installed and in your PATH!"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment