Fix symlink validation in Mojave

This commit is contained in:
L. E. Segovia 2019-10-06 23:27:24 +00:00
parent fd9a09e18f
commit 8ec48b0c72
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5

View File

@ -29,7 +29,7 @@ module UnpackStrategy
# symlinks to system directories (commonly to /Applications) # symlinks to system directories (commonly to /Applications)
def system_dir_symlink? def system_dir_symlink?
symlink? && MacOS.system_dir?(readlink) symlink? && MacOS.system_dir?(realpath)
end end
def bom def bom