From 3f08b8881b9a7ddebbe3e4fcd2e036e7f2ea01d0 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 11 Jan 2015 10:12:44 +0000 Subject: [PATCH] cleanup-installed: use uninstall --force. --- Library/Homebrew/cmd/cleanup-installed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/cleanup-installed.rb b/Library/Homebrew/cmd/cleanup-installed.rb index b79a380c19..9c54a772f5 100644 --- a/Library/Homebrew/cmd/cleanup-installed.rb +++ b/Library/Homebrew/cmd/cleanup-installed.rb @@ -15,6 +15,6 @@ module Homebrew current_formulae = `brew list`.lines.map(&:strip) uninstall_formulae = current_formulae - kept_formulae return if uninstall_formulae.empty? - safe_system "brew", "uninstall", *uninstall_formulae + safe_system "brew", "uninstall", "--force", *uninstall_formulae end end