Homebrew uses the INSTALL_RECEIPT.json
file (stored at $(brew --prefix $PACKAGE)/INSTALL_RECEIPT.json
) to determine what options to use when upgrading. It will store the options used to install a formula originally.
How to preserve the installation option of the specific home-brewed packages when upgrading them?
-
04-07-2023 - |
Question
Every time I "brew upgrade", the packages I installed with my own option will just be installed with their default configuration.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow