
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
13 lines
297 B
Ruby
13 lines
297 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
class CoreTap < Tap
|
|
# @private
|
|
def initialize
|
|
super "Homebrew", "core"
|
|
@full_name = "Homebrew/linuxbrew-core" if
|
|
!Homebrew::EnvConfig.force_homebrew_on_linux? &&
|
|
!Homebrew::EnvConfig.force_homebrew_core_repo_on_linux?
|
|
end
|
|
end
|