Merge pull request #8867 from MikeMcQuaid/no_check_installed_dependents
HOMEBREW_NO_CHECK_INSTALLED_DEPENDENTS: add variable.
This commit is contained in:
commit
fe6fcffe1c
@ -207,6 +207,11 @@ module Homebrew
|
|||||||
"falling back to building from source.",
|
"falling back to building from source.",
|
||||||
boolean: true,
|
boolean: true,
|
||||||
},
|
},
|
||||||
|
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: {
|
||||||
|
description: "If set, do not check for broken dependents after installing, upgrading or reinstalling " \
|
||||||
|
"formulae.",
|
||||||
|
boolean: true,
|
||||||
|
},
|
||||||
HOMEBREW_NO_COLOR: {
|
HOMEBREW_NO_COLOR: {
|
||||||
description: "If set, do not print text with colour added.",
|
description: "If set, do not print text with colour added.",
|
||||||
default_text: "`$NO_COLOR`.",
|
default_text: "`$NO_COLOR`.",
|
||||||
|
|||||||
@ -135,6 +135,8 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_installed_dependents(args:)
|
def check_installed_dependents(args:)
|
||||||
|
return if Homebrew::EnvConfig.no_installed_dependents_check?
|
||||||
|
|
||||||
installed_formulae = FormulaInstaller.installed.to_a
|
installed_formulae = FormulaInstaller.installed.to_a
|
||||||
return if installed_formulae.empty?
|
return if installed_formulae.empty?
|
||||||
|
|
||||||
|
|||||||
@ -1728,6 +1728,9 @@ For example, you might add something like the following to your ~/.profile, ~/.b
|
|||||||
* `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK`:
|
* `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK`:
|
||||||
If set, fail on the failure of installation from a bottle rather than falling back to building from source.
|
If set, fail on the failure of installation from a bottle rather than falling back to building from source.
|
||||||
|
|
||||||
|
* `HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK`:
|
||||||
|
If set, do not check for broken dependents after installing, upgrading or reinstalling formulae.
|
||||||
|
|
||||||
* `HOMEBREW_NO_COLOR`:
|
* `HOMEBREW_NO_COLOR`:
|
||||||
If set, do not print text with colour added.
|
If set, do not print text with colour added.
|
||||||
|
|
||||||
|
|||||||
@ -2418,6 +2418,10 @@ If set, do not automatically update before running \fBbrew install\fR, \fBbrew u
|
|||||||
If set, fail on the failure of installation from a bottle rather than falling back to building from source\.
|
If set, fail on the failure of installation from a bottle rather than falling back to building from source\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
|
\fBHOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK\fR
|
||||||
|
If set, do not check for broken dependents after installing, upgrading or reinstalling formulae\.
|
||||||
|
.
|
||||||
|
.TP
|
||||||
\fBHOMEBREW_NO_COLOR\fR
|
\fBHOMEBREW_NO_COLOR\fR
|
||||||
If set, do not print text with colour added\.
|
If set, do not print text with colour added\.
|
||||||
.
|
.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user