Merge pull request #2891 from igorw/skip-bin-log-msg
Clarify log messages when skipping existing binspull/2321/merge
commit
b7f45b688d
|
@ -196,7 +196,7 @@ class LibraryInstaller implements InstallerInterface
|
||||||
foreach ($binaries as $bin) {
|
foreach ($binaries as $bin) {
|
||||||
$binPath = $this->getInstallPath($package).'/'.$bin;
|
$binPath = $this->getInstallPath($package).'/'.$bin;
|
||||||
if (!file_exists($binPath)) {
|
if (!file_exists($binPath)) {
|
||||||
$this->io->write(' <warning>Skipped installation of '.$bin.' for package '.$package->getName().': file not found in package</warning>');
|
$this->io->write(' <warning>Skipped installation of bin '.$bin.' for package '.$package->getName().': file not found in package</warning>');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -215,7 +215,7 @@ class LibraryInstaller implements InstallerInterface
|
||||||
// is a fresh install of the vendor.
|
// is a fresh install of the vendor.
|
||||||
@chmod($link, 0777 & ~umask());
|
@chmod($link, 0777 & ~umask());
|
||||||
}
|
}
|
||||||
$this->io->write(' Skipped installation of '.$bin.' for package '.$package->getName().': name conflicts with an existing file');
|
$this->io->write(' Skipped installation of bin '.$bin.' for package '.$package->getName().': name conflicts with an existing file');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
|
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
|
||||||
|
@ -225,7 +225,7 @@ class LibraryInstaller implements InstallerInterface
|
||||||
@chmod($link, 0777 & ~umask());
|
@chmod($link, 0777 & ~umask());
|
||||||
$link .= '.bat';
|
$link .= '.bat';
|
||||||
if (file_exists($link)) {
|
if (file_exists($link)) {
|
||||||
$this->io->write(' Skipped installation of '.$bin.'.bat proxy for package '.$package->getName().': a .bat proxy was already installed');
|
$this->io->write(' Skipped installation of bin '.$bin.'.bat proxy for package '.$package->getName().': a .bat proxy was already installed');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!file_exists($link)) {
|
if (!file_exists($link)) {
|
||||||
|
|
Loading…
Reference in New Issue