uninstall: fix --force
Closes Homebrew/homebrew#42814. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
3350f9018a
commit
3a764cb549
@ -59,7 +59,7 @@ module Homebrew
|
||||
old_opt.parent.rmdir_if_possible
|
||||
end
|
||||
|
||||
lnk.unlink if lnk.exist? && lnk.realpath == rack.realpath
|
||||
link.unlink if link.exist? && link.realpath == rack.realpath
|
||||
end
|
||||
|
||||
if rack.directory?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user