diff options
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/cleanup.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 7ba589876..962567485 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -17,8 +17,10 @@ module Homebrew extend self end clean_cache # seems like a good time to do some additional cleanup - Homebrew.prune unless ARGV.dry_run? - rm_DS_Store + unless ARGV.dry_run? + Homebrew.prune + rm_DS_Store + end else ARGV.formulae.each do |f| cleanup_formula f |
