diff options
| author | Mike McQuaid | 2015-01-11 10:12:44 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-11 10:12:44 +0000 |
| commit | 3f08b8881b9a7ddebbe3e4fcd2e036e7f2ea01d0 (patch) | |
| tree | e0a95e095c155ed348a77cd21ede4ad36cb68da0 | |
| parent | c195f072d13981977d0b63f62e8d81d25a46ad6d (diff) | |
| download | brew-3f08b8881b9a7ddebbe3e4fcd2e036e7f2ea01d0.tar.bz2 | |
cleanup-installed: use uninstall --force.
| -rw-r--r-- | Library/Homebrew/cmd/cleanup-installed.rb | 2 |
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 |
