uninstall: display file size

Closes Homebrew/homebrew#38475.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Xu Cheng 2015-04-09 15:18:25 +08:00
parent 8d94fff17a
commit cd00abab55

View File

@ -8,7 +8,7 @@ module Homebrew
if not ARGV.force?
ARGV.kegs.each do |keg|
keg.lock do
puts "Uninstalling #{keg}..."
puts "Uninstalling #{keg}... (#{keg.abv})"
keg.unlink
keg.uninstall
rm_pin keg.name
@ -28,7 +28,7 @@ module Homebrew
rack = HOMEBREW_CELLAR/name
if rack.directory?
puts "Uninstalling #{name}..."
puts "Uninstalling #{name}... (#{rack.abv})"
rack.subdirs.each do |d|
keg = Keg.new(d)
keg.unlink