cleanup-installed: use uninstall --force.
This commit is contained in:
parent
c195f072d1
commit
3f08b8881b
@ -15,6 +15,6 @@ module Homebrew
|
|||||||
current_formulae = `brew list`.lines.map(&:strip)
|
current_formulae = `brew list`.lines.map(&:strip)
|
||||||
uninstall_formulae = current_formulae - kept_formulae
|
uninstall_formulae = current_formulae - kept_formulae
|
||||||
return if uninstall_formulae.empty?
|
return if uninstall_formulae.empty?
|
||||||
safe_system "brew", "uninstall", *uninstall_formulae
|
safe_system "brew", "uninstall", "--force", *uninstall_formulae
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user