Browse Source

Apply updates in the NoopInstaller

Jordi Boggiano 12 years ago
parent
commit
e1e7141ae9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Composer/Installer/NoopInstaller.php

+ 1 - 0
src/Composer/Installer/NoopInstaller.php

@@ -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);
         }