Browse Source

Merge pull request #443 from hason/installer

Save local repo after each success operation
Jordi Boggiano 13 years ago
parent
commit
e50fbf378b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Composer/Installer.php

+ 2 - 0
src/Composer/Installer.php

@@ -278,6 +278,8 @@ class Installer
                 $this->installationManager->execute($operation);
 
                 $this->eventDispatcher->dispatchPackageEvent(constant('Composer\Script\ScriptEvents::POST_PACKAGE_'.strtoupper($operation->getJobType())), $operation);
+
+                $localRepo->write();
             }
         }