From d5299f4946bf33959d500ff0a79d6ca769922b49 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 11 Sep 2012 14:22:56 -0500 Subject: [PATCH] cleanup: allow --force to remove keg-only brews again Fixes Homebrew/homebrew#14840. Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/cleanup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 6f8caa5849..7ba589876f 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