don't continue and try to set permissions on a symlink - that'll be covered by something else in this package, or is outside our scope and part of the O/S or another package
This commit is contained in:
parent
e5be8eac40
commit
d04b3e44fa
|
@ -181,6 +181,7 @@ class Packager
|
|||
}
|
||||
if (is_link($source)) {
|
||||
symlink(readlink($source), $dest);
|
||||
return; // don't set perms on symlink targets
|
||||
} else {
|
||||
if(!copy($source, $dest)) {
|
||||
echo "Error: failed to copy: $source -> $dest \m";
|
||||
|
|
Loading…
Reference in a new issue