brew.sh: drop obsolete source in update-preinstall
No need to source `cmd/update.sh` if `homebrew-update` is not going to be called directly. Amends 750bb24a787dc6e4a13f2b842a3e8dcb8d5fb761.
This commit is contained in:
parent
95c3a31b33
commit
406fdbb391
@ -227,9 +227,6 @@ update-preinstall() {
|
||||
|
||||
if [[ "$HOMEBREW_COMMAND" = "install" || "$HOMEBREW_COMMAND" = "upgrade" ]]
|
||||
then
|
||||
# Hide shellcheck complaint:
|
||||
# shellcheck source=/dev/null
|
||||
source "$HOMEBREW_LIBRARY/Homebrew/cmd/update.sh"
|
||||
brew update --preinstall
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user