aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/uninstall.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb
index 6929a49a7..837a1e9f4 100644
--- a/Library/Homebrew/cmd/uninstall.rb
+++ b/Library/Homebrew/cmd/uninstall.rb
@@ -26,10 +26,7 @@ module Homebrew extend self
if rack.directory?
puts "Uninstalling #{name}..."
- rack.subdirs.map { |d| Keg.new(d) }.each do |keg|
- keg.unlink
- keg.rmtree
- end
+ rack.subdirs.each { |d| Keg.new(d).unlink }
rack.rmtree
end