diff options
| author | Max Howell | 2012-03-07 11:16:27 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-07 12:33:47 +0000 |
| commit | 5bddaf2e355e5fe78e05e68113fad830ed12f517 (patch) | |
| tree | 66ac29667492fa6962f6a82ab111f922b12d67c3 /Library/Formula/phpmyadmin.rb | |
| parent | 9b798ccb203a8692a406f4a44e93b1ef748e7606 (diff) | |
| download | homebrew-5bddaf2e355e5fe78e05e68113fad830ed12f517.tar.bz2 | |
Stop supporting `brew install --force'
Rationale: it breaks stuff. You should not be able to install over something already installed *and* linked. brew now prompts you to unlink the existing linked keg first.
I came to fix this because I discovered that `brew install foo` works without --force provided foo's formula version is different to that which is installed and linked. I'm not sure if this was intentionally broken, but it led to at least two tickets I found where people were getting crazy issues trying to install over the top of already installed previous versions.
So I also fixed a whole category of other issues, mostly by moving error handling into FormulaInstaller. Now error's can be caught in Homebrew.install and handled on a formula-by-formula basis. I will next port this behaviour to upgrade.
Diffstat (limited to 'Library/Formula/phpmyadmin.rb')
0 files changed, 0 insertions, 0 deletions
