Force platform packages to remain installed
parent
90732fd03f
commit
dd17a1bbd7
|
@ -259,9 +259,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue