aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2015-01-11 10:12:44 +0000
committerMike McQuaid2015-01-11 10:12:44 +0000
commit3f08b8881b9a7ddebbe3e4fcd2e036e7f2ea01d0 (patch)
treee0a95e095c155ed348a77cd21ede4ad36cb68da0 /Library/Homebrew/cmd
parentc195f072d13981977d0b63f62e8d81d25a46ad6d (diff)
downloadbrew-3f08b8881b9a7ddebbe3e4fcd2e036e7f2ea01d0.tar.bz2
cleanup-installed: use uninstall --force.
Diffstat (limited to 'Library/Homebrew/cmd')
-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