diff options
| author | Mike McQuaid | 2015-01-11 10:12:44 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-11 10:12:44 +0000 |
| commit | 9d21d956caecca4ae89948cf485f4bb4d20ed11c (patch) | |
| tree | 940c477db134ad39e8adbb5aa1acfc5e3a6eef86 /Library | |
| parent | f747122cd8b3a729a7bfd9e40a21cd2a4d708448 (diff) | |
| download | homebrew-9d21d956caecca4ae89948cf485f4bb4d20ed11c.tar.bz2 | |
cleanup-installed: use uninstall --force.
Diffstat (limited to 'Library')
| -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 |
