aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMartin Afanasjew2016-05-18 18:26:05 +0200
committerMartin Afanasjew2016-05-18 18:26:05 +0200
commit406fdbb391e844ea604c3eac1075c3f2562d07a9 (patch)
tree5546c740cfdd3cbcadbc8f957296feb477efd30f /Library
parent95c3a31b33f364b4468741168d4d205ef10df00c (diff)
downloadbrew-406fdbb391e844ea604c3eac1075c3f2562d07a9.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/brew.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/brew.sh b/Library/brew.sh
index 7fb16afdd..52e31bc08 100644
--- a/Library/brew.sh
+++ b/Library/brew.sh
@@ -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
}