Undo reformatting from #7441
parent
1983a450b4
commit
d5a9d86ee4
|
@ -1038,8 +1038,14 @@ class Installer
|
||||||
$package->setReplaces($newPackage->getReplaces());
|
$package->setReplaces($newPackage->getReplaces());
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($task === 'force-updates' && $newPackage && ($newPackage->getSourceReference() && $newPackage->getSourceReference() !== $package->getSourceReference())
|
if (
|
||||||
|| ($newPackage->getDistReference() && $newPackage->getDistReference() !== $package->getDistReference())) {
|
$task === 'force-updates'
|
||||||
|
&& $newPackage
|
||||||
|
&& (
|
||||||
|
($newPackage->getSourceReference() && $newPackage->getSourceReference() !== $package->getSourceReference())
|
||||||
|
|| ($newPackage->getDistReference() && $newPackage->getDistReference() !== $package->getDistReference())
|
||||||
|
)
|
||||||
|
) {
|
||||||
$operations[] = new UpdateOperation($package, $newPackage);
|
$operations[] = new UpdateOperation($package, $newPackage);
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue