aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/cleanup.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-03-02 08:56:58 +0000
committerMike McQuaid2013-03-02 08:56:58 +0000
commit1578e1360f08eceeaee30a1a08394f70caa1d6b4 (patch)
treee02c65bf6d5091c4b223459172021129d7ed9750 /Library/Homebrew/cmd/cleanup.rb
parent299f12aff38dcbb2566ad12182e55823e77e82f2 (diff)
downloadhomebrew-1578e1360f08eceeaee30a1a08394f70caa1d6b4.tar.bz2
cleanup: don't remove old incomplete files twice.
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index 86607b2e2..1bcf9e153 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -77,10 +77,6 @@ module Homebrew extend self
end
end
end
- if pn.basename.to_s.split('.').last == 'incomplete'
- puts "Removing #{pn}..."
- rm pn unless ARGV.dry_run?
- end
end
end