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:
parent
4254661c66
commit
635cb27d13
2
bin/brew
2
bin/brew
@ -161,8 +161,8 @@ begin
|
|||||||
when 'rm', 'uninstall', 'remove'
|
when 'rm', 'uninstall', 'remove'
|
||||||
ARGV.kegs.each do |keg|
|
ARGV.kegs.each do |keg|
|
||||||
puts "Uninstalling #{keg}..."
|
puts "Uninstalling #{keg}..."
|
||||||
keg.uninstall
|
|
||||||
keg.unlink
|
keg.unlink
|
||||||
|
keg.uninstall
|
||||||
end
|
end
|
||||||
|
|
||||||
when 'prune'
|
when 'prune'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user