diff options
| author | Xu Cheng | 2016-05-13 14:39:16 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-05-13 14:39:16 +0800 |
| commit | 750bb24a787dc6e4a13f2b842a3e8dcb8d5fb761 (patch) | |
| tree | a9da1be03bdd0b87b9a4927e3fa0294fa640703a /Library | |
| parent | 92934db20296a79b1507499a44614b63056b9841 (diff) | |
| download | brew-750bb24a787dc6e4a13f2b842a3e8dcb8d5fb761.tar.bz2 | |
brew.sh: use brew update in update-preinstall
Preinstall update should be performed in a separate process,
so it can maintain and close its own update lock.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/brew.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.sh b/Library/brew.sh index 0469244b3..5daeda325 100644 --- a/Library/brew.sh +++ b/Library/brew.sh @@ -224,7 +224,7 @@ update-preinstall() { # Hide shellcheck complaint: # shellcheck source=/dev/null source "$HOMEBREW_LIBRARY/Homebrew/cmd/update.sh" - homebrew-update --preinstall + brew update --preinstall fi } |
