From 755d46f4ec8a7540babe60594658b3900c3368ed Mon Sep 17 00:00:00 2001 From: Zenithal Date: Thu, 21 Oct 2021 16:29:28 +0800 Subject: [PATCH] homebrew: remove linuxbrew-core/bottles --- homebrew-bottles.py | 6 ------ homebrew.sh | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/homebrew-bottles.py b/homebrew-bottles.py index 408e3c0..427046b 100755 --- a/homebrew-bottles.py +++ b/homebrew-bottles.py @@ -79,12 +79,6 @@ if __name__ == "__main__": for file in b: sha256 = b[file]["sha256"] - # dark magic for linuxbrew-bottles - if "https://formulae.brew.sh/api/formula-linux.json" == HOMEBREW_BOTTLE_DOMAIN and\ - "x86_64_linux" not in file: - print(f"Ignoring {file}", flush=True) - continue - print(f"Downloading {file}", flush=True) dst_file = WORKING_DIR / file dst_tmp_file = TMP_DIR / file diff --git a/homebrew.sh b/homebrew.sh index d4104e5..7909da4 100755 --- a/homebrew.sh +++ b/homebrew.sh @@ -22,7 +22,7 @@ function update_homebrew_git() { } UPSTREAM_BASE=${TUNASYNC_UPSTREAM_URL:-"https://github.com/Homebrew"} -brews=("brew" "homebrew-core" "homebrew-cask" "homebrew-cask-fonts" "homebrew-cask-drivers" "homebrew-cask-versions" "linuxbrew-core" "install" "homebrew-command-not-found") +brews=("brew" "homebrew-core" "homebrew-cask" "homebrew-cask-fonts" "homebrew-cask-drivers" "homebrew-cask-versions" "install" "homebrew-command-not-found") total_size=0 for brew in ${brews[@]}; do