aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-01-11 10:12:44 +0000
committerMike McQuaid2015-01-11 10:12:44 +0000
commit9d21d956caecca4ae89948cf485f4bb4d20ed11c (patch)
tree940c477db134ad39e8adbb5aa1acfc5e3a6eef86 /Library
parentf747122cd8b3a729a7bfd9e40a21cd2a4d708448 (diff)
downloadhomebrew-9d21d956caecca4ae89948cf485f4bb4d20ed11c.tar.bz2
cleanup-installed: use uninstall --force.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/cleanup-installed.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup-installed.rb b/Library/Homebrew/cmd/cleanup-installed.rb
index b79a380c1..9c54a772f 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