diff options
| author | Jack Nagel | 2012-09-11 14:22:56 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2012-09-11 14:29:33 -0500 | 
| commit | 2957b286a82cc0612191776c83c83433538afedc (patch) | |
| tree | a6d7ac0c916dae6a174df0b6838ca55573c56c69 /Library/Homebrew/cmd/cleanup.rb | |
| parent | 9da64016b53debf4b565c6195e48dd50560868e6 (diff) | |
| download | homebrew-2957b286a82cc0612191776c83c83433538afedc.tar.bz2 | |
cleanup: allow --force to remove keg-only brews again
Fixes #14840.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
| -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 | 
