Update dist/source mirrors as well when updating a package's URL
parent
51cfe3ba73
commit
b2efcb1078
|
@ -1151,6 +1151,9 @@ class Installer
|
||||||
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$package->setDistMirrors($newPackage->getDistMirrors());
|
||||||
|
$package->setSourceMirrors($newPackage->getSourceMirrors());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue