diff options
| author | Jack Nagel | 2013-05-18 20:19:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-18 20:22:24 -0500 |
| commit | 277f3d3c30e72ce1eaefe8817043a643872f53bf (patch) | |
| tree | 4f86fc8c35098ad859e37217319b19558353ee4b /Library/Homebrew/cmd | |
| parent | a3312d24a3457d3613ded1ad3db0dc7c794e8c2f (diff) | |
| download | brew-277f3d3c30e72ce1eaefe8817043a643872f53bf.tar.bz2 | |
Stop running "prune" as part of "cleanup"
Rationale: "prune" is slow, does not need to be run as often as
"cleanup", and is potentially destructive to things like empty
directories that Homebrew did not create. Thus we should let users run
`brew prune` only when they wish to, while still being able to use `brew
cleanup`.
Closes Homebrew/homebrew#19863.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/cleanup.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 06003f41a..7295c7d80 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -1,7 +1,6 @@ require 'formula' require 'keg' require 'bottles' -require 'cmd/prune' module Homebrew extend self @@ -11,8 +10,6 @@ module Homebrew extend self if ARGV.named.empty? cleanup_cellar cleanup_cache - Homebrew.prune - rm_DS_Store unless ARGV.dry_run? else ARGV.formulae.each { |f| cleanup_formula(f) } |
