Don't use Linuxbrew/homebrew-core (yet, at least).
This can't be tapped on vanilla Homebrew/brew because things like e.g. `GlibcRequirement` are missing. We will put this back when the Linuxbrew to Homebrew migration is complete.
This commit is contained in:
parent
6c7e8608be
commit
70a9a67411
@ -23,15 +23,8 @@ git() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
git_init_if_necessary() {
|
git_init_if_necessary() {
|
||||||
if [[ -n "$HOMEBREW_MACOS" ]] || [[ -n "$HOMEBREW_FORCE_HOMEBREW_ORG" ]]
|
BREW_OFFICIAL_REMOTE="https://github.com/Homebrew/brew"
|
||||||
then
|
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/homebrew-core"
|
||||||
BREW_OFFICIAL_REMOTE="https://github.com/Homebrew/brew"
|
|
||||||
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/homebrew-core"
|
|
||||||
elif [[ -n "$HOMEBREW_LINUX" ]]
|
|
||||||
then
|
|
||||||
BREW_OFFICIAL_REMOTE="https://github.com/Linuxbrew/brew"
|
|
||||||
CORE_OFFICIAL_REMOTE="https://github.com/Linuxbrew/homebrew-core"
|
|
||||||
fi
|
|
||||||
|
|
||||||
safe_cd "$HOMEBREW_REPOSITORY"
|
safe_cd "$HOMEBREW_REPOSITORY"
|
||||||
if [[ ! -d ".git" ]]
|
if [[ ! -d ".git" ]]
|
||||||
|
|||||||
@ -543,11 +543,7 @@ end
|
|||||||
# A specialized {Tap} class for the core formulae
|
# A specialized {Tap} class for the core formulae
|
||||||
class CoreTap < Tap
|
class CoreTap < Tap
|
||||||
def default_remote
|
def default_remote
|
||||||
if OS.mac? || ENV["HOMEBREW_FORCE_HOMEBREW_ORG"]
|
"https://github.com/Homebrew/homebrew-core".freeze
|
||||||
"https://github.com/Homebrew/homebrew-core".freeze
|
|
||||||
else
|
|
||||||
"https://github.com/Linuxbrew/homebrew-core".freeze
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# @private
|
# @private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user