How to preserve the installation option of the specific home-brewed packages when upgrading them?

StackOverflow https://stackoverflow.com/questions/23115034

Question

Every time I "brew upgrade", the packages I installed with my own option will just be installed with their default configuration.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top