1
0
Fork 0

show change if package directory have changed to symbolic link

pull/4299/head
Webber Wu 2015-01-07 22:52:40 +08:00
parent c58b7d917c
commit 261a31c149
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}