Unlink before uninstalling

Nice bug there where we never removed any symlinks, because the unlink step requires the keg to be full of files to determine what symlinks to remove.
This commit is contained in:
Max Howell 2009-12-08 19:54:52 +00:00
parent 4254661c66
commit 635cb27d13

View File

@ -161,8 +161,8 @@ begin
when 'rm', 'uninstall', 'remove'
ARGV.kegs.each do |keg|
puts "Uninstalling #{keg}..."
keg.uninstall
keg.unlink
keg.uninstall
end
when 'prune'