|
@@ -84,7 +84,7 @@ class FileDownloader implements DownloaderInterface
|
|
|
}
|
|
|
|
|
|
if ($output) {
|
|
|
- $this->io->writeError(" - Installing <info>" . $package->getName() . "</info> (<comment>" . $package->getFullPrettyVersion() . "</comment>)", false);
|
|
|
+ $this->io->writeError(" - Installing <info>" . $package->getName() . "</info> (<comment>" . $package->getFullPrettyVersion() . "</comment>): ", false);
|
|
|
}
|
|
|
|
|
|
$urls = $package->getDistUrls();
|
|
@@ -132,7 +132,6 @@ class FileDownloader implements DownloaderInterface
|
|
|
|
|
|
// download if we don't have it in cache or the cache is invalidated
|
|
|
if (!$this->cache || ($checksum && $checksum !== $this->cache->sha1($cacheKey)) || !$this->cache->copyTo($cacheKey, $fileName)) {
|
|
|
- $this->io->writeError(': ', false);
|
|
|
if (!$this->outputProgress) {
|
|
|
$this->io->writeError('Downloading', false);
|
|
|
}
|
|
@@ -163,7 +162,7 @@ class FileDownloader implements DownloaderInterface
|
|
|
$this->cache->copyFrom($cacheKey, $fileName);
|
|
|
}
|
|
|
} else {
|
|
|
- $this->io->writeError(' from cache', false);
|
|
|
+ $this->io->writeError('Loading from cache', false);
|
|
|
}
|
|
|
|
|
|
if (!file_exists($fileName)) {
|
|
@@ -211,7 +210,7 @@ class FileDownloader implements DownloaderInterface
|
|
|
$from = $initial->getPrettyVersion();
|
|
|
$to = $target->getPrettyVersion();
|
|
|
|
|
|
- $this->io->writeError(" - Updating <info>" . $name . "</info> (<comment>" . $from . "</comment> => <comment>" . $to . "</comment>)", false);
|
|
|
+ $this->io->writeError(" - Updating <info>" . $name . "</info> (<comment>" . $from . "</comment> => <comment>" . $to . "</comment>): ", false);
|
|
|
|
|
|
$this->remove($initial, $path, false);
|
|
|
$this->download($target, $path, false);
|