Fix symlink validation in Mojave
This commit is contained in:
parent
fd9a09e18f
commit
8ec48b0c72
@ -29,7 +29,7 @@ module UnpackStrategy
|
||||
|
||||
# symlinks to system directories (commonly to /Applications)
|
||||
def system_dir_symlink?
|
||||
symlink? && MacOS.system_dir?(readlink)
|
||||
symlink? && MacOS.system_dir?(realpath)
|
||||
end
|
||||
|
||||
def bom
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user