If installer sets prefer option to false, the manager should too. Fixes #2359
parent
f134e09f45
commit
fcba5257d9
|
@ -171,12 +171,8 @@ class Installer
|
||||||
unset($devRepo, $package);
|
unset($devRepo, $package);
|
||||||
// end BC
|
// end BC
|
||||||
|
|
||||||
if ($this->preferSource) {
|
$this->downloadManager->setPreferSource($this->preferSource);
|
||||||
$this->downloadManager->setPreferSource(true);
|
$this->downloadManager->setPreferDist($this->preferDist);
|
||||||
}
|
|
||||||
if ($this->preferDist) {
|
|
||||||
$this->downloadManager->setPreferDist(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// clone root package to have one in the installed repo that does not require anything
|
// clone root package to have one in the installed repo that does not require anything
|
||||||
// we don't want it to be uninstallable, but its requirements should not conflict
|
// we don't want it to be uninstallable, but its requirements should not conflict
|
||||||
|
|
Loading…
Reference in New Issue