Use the locked package for the update operation
parent
6bd7ca0230
commit
3281a0b5df
|
@ -394,9 +394,7 @@ class Installer
|
|||
&& $lockedPackage->getSourceReference()
|
||||
&& $lockedPackage->getSourceReference() !== $package->getSourceReference()
|
||||
) {
|
||||
$newPackage = clone $package;
|
||||
$newPackage->setSourceReference($lockedPackage->getSourceReference());
|
||||
$operations[] = new UpdateOperation($package, $newPackage);
|
||||
$operations[] = new UpdateOperation($package, $lockedPackage);
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue