1
0
Fork 0

Update dist/source mirrors as well when updating a package's URL

pull/5984/head
Jordi Boggiano 2016-12-20 13:55:25 +01:00
parent 51cfe3ba73
commit b2efcb1078
1 changed files with 3 additions and 0 deletions

View File

@ -1151,6 +1151,9 @@ class Installer
if ($package instanceof CompletePackage && $newPackage instanceof CompletePackage) {
$package->setAbandoned($newPackage->getReplacementPackage() ?: $newPackage->isAbandoned());
}
$package->setDistMirrors($newPackage->getDistMirrors());
$package->setSourceMirrors($newPackage->getSourceMirrors());
}
}
}