From 750bb24a787dc6e4a13f2b842a3e8dcb8d5fb761 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Fri, 13 May 2016 14:39:16 +0800 Subject: [PATCH] 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. --- Library/brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/brew.sh b/Library/brew.sh index 0469244b3b..5daeda3251 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 }