From 282622e449e640a61361890296eee46d880f77a3 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 12 Mar 2017 09:13:27 +0000 Subject: [PATCH] update: stop autoupdate skipping no formula taps. This will be slightly slower if you have a bunch of non-formula (i.e. command or cask) taps but it avoids the confusion of having Homebrew saying it's updated when it only did so selectively. Fixes #1946. --- Library/Homebrew/cmd/update.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index c5e6184034..5cfdb3f46b 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -458,14 +458,6 @@ EOS then # Skip taps checked/fetched recently [[ -n "$(find "$DIR/.git/FETCH_HEAD" -type f -mtime -"${HOMEBREW_AUTO_UPDATE_SECS}"s 2>/dev/null)" ]] && exit - - # Skip taps without formulae (but always update Homebrew/brew and Homebrew/homebrew-core) - if [[ "$DIR" != "$HOMEBREW_REPOSITORY" && - "$DIR" != "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-core" ]] - then - FORMULAE="$(find "$DIR" -maxdepth 1 \( -name "*.rb" -or -name Formula -or -name HomebrewFormula \) -print -quit)" - [[ -z "$FORMULAE" ]] && exit - fi fi UPSTREAM_REPOSITORY_URL="$(git config remote.origin.url)"