1
0
Fork 0

Apply updates in the NoopInstaller

pull/1186/merge
Jordi Boggiano 2012-10-22 14:33:09 +02:00
parent 1760b1e093
commit e1e7141ae9
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ class NoopInstaller implements InstallerInterface
throw new \InvalidArgumentException('Package is not installed: '.$initial);
}
$repo->removePackage($initial);
if (!$repo->hasPackage($target)) {
$repo->addPackage(clone $target);
}