Merge pull request #4299 from webberwu/master

show change if package directory have changed to symbolic link
main
Jordi Boggiano 9 years ago
commit 5a26b7c102

@ -68,6 +68,10 @@ EOT
if ($downloader instanceof ChangeReportInterface) { if ($downloader instanceof ChangeReportInterface) {
$targetDir = $im->getInstallPath($package); $targetDir = $im->getInstallPath($package);
if (is_link($targetDir)) {
$errors[$targetDir] = $targetDir . ' is a symbolic link.';
}
if ($changes = $downloader->getLocalChanges($package, $targetDir)) { if ($changes = $downloader->getLocalChanges($package, $targetDir)) {
$errors[$targetDir] = $changes; $errors[$targetDir] = $changes;
} }

Loading…
Cancel
Save