aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/cleanup.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-24 09:54:26 -0500
committerJack Nagel2014-06-24 09:56:37 -0500
commita8c2770ef93e4824f58245d06adcc70ba10a1562 (patch)
tree4c74c0a9efd16a136abc7454bf4c54c4d49bb198 /Library/Homebrew/cmd/cleanup.rb
parent8b01ead176ebbebc68471dd48780338b4f284226 (diff)
downloadhomebrew-a8c2770ef93e4824f58245d06adcc70ba10a1562.tar.bz2
Use Keg#uninstall to clean up kegs
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index 42ef7b329..d6c727802 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -70,7 +70,7 @@ module Homebrew
puts "Would remove: #{keg}"
else
puts "Removing: #{keg}..."
- keg.rmtree
+ keg.uninstall
end
end