Sort cleanup of installed formulae.
This commit is contained in:
parent
f83314164c
commit
b161ffb20c
@ -148,12 +148,12 @@ module Homebrew
|
|||||||
|
|
||||||
def clean!
|
def clean!
|
||||||
if args.empty?
|
if args.empty?
|
||||||
Formula.installed.each do |formula|
|
cleanup_lockfiles
|
||||||
|
Formula.installed.sort_by(&:name).each do |formula|
|
||||||
cleanup_formula(formula)
|
cleanup_formula(formula)
|
||||||
end
|
end
|
||||||
cleanup_cache
|
cleanup_cache
|
||||||
cleanup_logs
|
cleanup_logs
|
||||||
cleanup_lockfiles
|
|
||||||
return if dry_run?
|
return if dry_run?
|
||||||
rm_ds_store
|
rm_ds_store
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user