1
0
Fork 0

Skip update whitelist warning for "nothing" and "lock"

pull/1752/head
Jordi Boggiano 2013-04-01 12:18:27 +02:00
parent e1eb35455f
commit 83084eedf9
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ class Installer
$packageQueue = new \SplQueue; $packageQueue = new \SplQueue;
$depPackages = $pool->whatProvides($packageName); $depPackages = $pool->whatProvides($packageName);
if (count($depPackages) == 0 && !in_array($packageName, $requiredPackageNames)) { if (count($depPackages) == 0 && !in_array($packageName, $requiredPackageNames) && !in_array($packageName, array('nothing', 'lock'))) {
$this->io->write('<warning>Package "' . $packageName . '" listed for update is not installed. Ignoring.<warning>'); $this->io->write('<warning>Package "' . $packageName . '" listed for update is not installed. Ignoring.<warning>');
} }