1
0
Fork 0

Clarify log messages when skipping existing bins

pull/2891/head
Igor Wiedler 2014-04-09 13:40:55 +02:00
parent 1efa02a7ab
commit c0086ba1e3
1 changed files with 3 additions and 3 deletions

View File

@ -196,7 +196,7 @@ class LibraryInstaller implements InstallerInterface
foreach ($binaries as $bin) {
$binPath = $this->getInstallPath($package).'/'.$bin;
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;
}
@ -215,7 +215,7 @@ class LibraryInstaller implements InstallerInterface
// is a fresh install of the vendor.
@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;
}
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
@ -225,7 +225,7 @@ class LibraryInstaller implements InstallerInterface
@chmod($link, 0777 & ~umask());
$link .= '.bat';
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)) {