diff options
| author | Jack Nagel | 2012-09-11 14:22:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-09-11 14:29:33 -0500 |
| commit | d5299f4946bf33959d500ff0a79d6ca769922b49 (patch) | |
| tree | 8ef14bebceeab3a717d11ad5ec568dae29106633 | |
| parent | e909b54c9697e44d984cd642c866edbf240105da (diff) | |
| download | brew-d5299f4946bf33959d500ff0a79d6ca769922b49.tar.bz2 | |
cleanup: allow --force to remove keg-only brews again
Fixes Homebrew/homebrew#14840.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Homebrew/cmd/cleanup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 6f8caa584..7ba589876 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -76,7 +76,7 @@ class Formula # introduced the opt symlink, and built against that instead. So provided # no brew exists that was built against an old-style keg-only keg, we can # remove it. - if not keg_only? + if not keg_only? or ARGV.force? true elsif opt_prefix.directory? # SHA records were added to INSTALL_RECEIPTS the same day as opt symlinks |
