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.
This commit is contained in:
parent
92934db202
commit
750bb24a78
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user