mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

See https://github.com/Homebrew/install/pull/571 When the install script sets as https://github.com/Homebrew/homebrew-core, we need to use the homebrew-core bottle domain, and correctly set the HOMEBREW_CORE_DEFAULT_GIT_REMOTE below. This also fixes the brew doctor issue for new homebrew-core Linux installations Warning: Suspicious https://github.com/Homebrew/linuxbrew-core git origin remote found. The current git origin is: https://github.com/Homebrew/homebrew-core With a non-standard origin, Homebrew won't update properly. You can solve this by setting the origin remote: git -C "/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/linuxbrew-core
19 lines
390 B
Ruby
19 lines
390 B
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
module Homebrew
|
|
module API
|
|
module Analytics
|
|
class << self
|
|
def analytics_api_path
|
|
return generic_analytics_api_path if
|
|
Homebrew::EnvConfig.force_homebrew_on_linux? ||
|
|
Homebrew::EnvConfig.force_homebrew_core_repo_on_linux?
|
|
|
|
"analytics-linux"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|