Merge branch 'master' into 2.0
commit
08d661ceca
|
@ -1171,7 +1171,7 @@ class Installer
|
||||||
$newReference = $rootRefs[$package->getName()];
|
$newReference = $rootRefs[$package->getName()];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->updatePackageUrl($package, $newSourceUrl, $newPackage->getSourceType(), $newReference, $newPackage->getDistUrl(), $newPackage->getDistType(), $newPackage->getDistSha1Checksum(), $newPackage);
|
$this->updatePackageUrl($package, $newSourceUrl, $newPackage->getSourceType(), $newReference, $newPackage->getDistUrl(), $newPackage->getDistType(), $newPackage->getDistSha1Checksum());
|
||||||
|
|
||||||
if ($package instanceof CompletePackage && $newPackage instanceof CompletePackage) {
|
if ($package instanceof CompletePackage && $newPackage instanceof CompletePackage) {
|
||||||
$package->setAbandoned($newPackage->getReplacementPackage() ?: $newPackage->isAbandoned());
|
$package->setAbandoned($newPackage->getReplacementPackage() ?: $newPackage->isAbandoned());
|
||||||
|
|
Loading…
Reference in New Issue