From 2957b286a82cc0612191776c83c83433538afedc Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 11 Sep 2012 14:22:56 -0500 Subject: cleanup: allow --force to remove keg-only brews again Fixes #14840. Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/cleanup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd/cleanup.rb') 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 -- cgit v1.2.3