1
0
Fork 0

Merge remote-tracking branch 'christianjul/master'

pull/1641/head
Jordi Boggiano 2013-03-02 00:05:04 +01:00
commit ab206580f5
1 changed files with 6 additions and 1 deletions

View File

@ -670,7 +670,12 @@ class Installer
foreach ($this->updateWhitelist as $packageName => $void) {
$packageQueue = new \SplQueue;
foreach ($pool->whatProvides($packageName) as $depPackage) {
$depPackages = $pool->whatProvides($packageName);
if (count($depPackages) == 0) {
$this->io->write('<warning>Package "' . $packageName . '" listed for update is not installed. Ignoring.<warning>');
}
foreach ($depPackages as $depPackage) {
$packageQueue->enqueue($depPackage);
}