aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-24 09:54:26 -0500
committerJack Nagel2014-06-24 09:56:37 -0500
commitdef6b1eaf74cab3be2c807ca5609df3fa98bb8c9 (patch)
treefe02665aa66faedcedff0afddad806e1361e1807 /Library
parentacf76f3f5502846f21933cbf77302f332f18c1c1 (diff)
downloadbrew-def6b1eaf74cab3be2c807ca5609df3fa98bb8c9.tar.bz2
Use Keg#uninstall to clean up kegs
Diffstat (limited to 'Library')
-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