docs/FAQ: fix HOMEBREW_NO_INSTALL_FROM_API mention

There is no `HOMEBREW_NO_INSTALL_WITH_API`; it should be
`HOMEBREW_NO_INSTALL_FROM_API`.

Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
This commit is contained in:
Ruoyu Zhong 2023-02-17 16:51:05 +08:00
parent 8ff2e29aad
commit 36e78e9558
No known key found for this signature in database
GPG Key ID: 42F3B7E577C2156A

View File

@ -142,7 +142,7 @@ If all maintainer feedback has been addressed and all tests are passing, bump it
Yes! Its easy! Just `brew edit <formula>`. You dont have to submit modifications back to `homebrew/core`, just edit the formula to what you personally need and `brew install <formula>`. As a bonus, `brew update` will merge your changes with upstream so you can still keep the formula up-to-date **with** your personal modifications! Yes! Its easy! Just `brew edit <formula>`. You dont have to submit modifications back to `homebrew/core`, just edit the formula to what you personally need and `brew install <formula>`. As a bonus, `brew update` will merge your changes with upstream so you can still keep the formula up-to-date **with** your personal modifications!
Note that if you are editing a core formula or cask you must set `HOMEBREW_NO_INSTALL_WITH_API=1` before using `brew install` or `brew update` otherwise they will ignore your local changes and default to the API. Note that if you are editing a core formula or cask you must set `HOMEBREW_NO_INSTALL_FROM_API=1` before using `brew install` or `brew update` otherwise they will ignore your local changes and default to the API.
## Can I make new formulae? ## Can I make new formulae?