Keg#unlink only removes a linked keg entry *for that keg*
This commit is contained in:
parent
cf19ccb436
commit
b98f7277a4
@ -130,7 +130,7 @@ class Keg < Pathname
|
||||
end
|
||||
end
|
||||
|
||||
if linked_keg_record.symlink?
|
||||
if linked?
|
||||
linked_keg_record.unlink
|
||||
linked_keg_record.parent.rmdir_if_possible
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user