1
0
Fork 0

Force platform packages to remain installed

pull/635/head^2
Jordi Boggiano 2012-04-27 21:24:07 +02:00
parent 22a825fc07
commit b3659d85f3
1 changed files with 4 additions and 2 deletions

View File

@ -242,9 +242,11 @@ class Installer
} }
} }
// fix the version all installed packages that are not in the current local repo to prevent rogue updates // fix the version of all installed packages (+ platform) that are not
// in the current local repo to prevent rogue updates (e.g. non-dev
// updating when in dev)
foreach ($installedRepo->getPackages() as $package) { foreach ($installedRepo->getPackages() as $package) {
if ($package->getRepository() === $localRepo || $package->getRepository() instanceof PlatformRepository) { if ($package->getRepository() === $localRepo) {
continue; continue;
} }