From e1e7141ae96bf79f346929f4184fb880539b450e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 22 Oct 2012 14:33:09 +0200 Subject: [PATCH] Apply updates in the NoopInstaller --- src/Composer/Installer/NoopInstaller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Installer/NoopInstaller.php b/src/Composer/Installer/NoopInstaller.php index c5969519b..1f006ee82 100644 --- a/src/Composer/Installer/NoopInstaller.php +++ b/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); }