From 406fdbb391e844ea604c3eac1075c3f2562d07a9 Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Wed, 18 May 2016 18:26:05 +0200 Subject: [PATCH] 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. --- Library/brew.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/Library/brew.sh b/Library/brew.sh index 7fb16afddd..52e31bc081 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 }