show change if package directory have changed to symbolic link

main
Webber Wu 10 years ago
parent c58b7d917c
commit 261a31c149

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

Loading…
Cancel
Save