From 4bc5f48654d7e6b1fcb6df3630d6f003d7d40c11 Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Sat, 15 Oct 2022 00:22:10 +0900 Subject: [PATCH] compare bytesize instead of shasum256 --- Library/Homebrew/cmd/update.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index 86065c87b9..137b916c80 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -756,14 +756,7 @@ EOS mkdir -p "${HOMEBREW_CACHE}/api" if [[ -f "${HOMEBREW_CACHE}/api/formula.json" ]] then - INITIAL_JSON_SHASUM="$( - ruby <