Skip to content
Snippets Groups Projects
Commit 750bb24a authored by Xu Cheng's avatar Xu Cheng
Browse files

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.
parent 92934db2
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment