diff options
| author | Mike McQuaid | 2017-03-12 09:13:27 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-03-12 09:13:27 +0000 |
| commit | 282622e449e640a61361890296eee46d880f77a3 (patch) | |
| tree | 550faeafb4125e8c6a58b5f34c04553e15f30a2e /Library | |
| parent | 7e5b2fb4facd8c7c0c8bf06e6867c74666158c69 (diff) | |
| download | brew-282622e449e640a61361890296eee46d880f77a3.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/update.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index c5e618403..5cfdb3f46 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)" |
