brew install --build-bottle <pkg>, it says eventually:
==> Not running post_install as we're building a bottle
Which suggests that using
brew bottle and
brew postinstall together is maybe problematic somehow. However, https://docs.brew.sh/Manpage says nothing whatsoever about this little gimmick, or the relation of these two commands in general.
So, here are the questions:
- Why is that done? The package is being installed into the local cellar anyway rather than just packaged, other packages will still see it and may try to use. What does that achieve?
- What are the implications before running
postinstall, or running
postinstallor vice versa?
I’m primarily interested in official guarantees / documented behavior 'cuz I’m writing scripts and must know what I can rely on.