1
0
Fork 0

If installer sets prefer option to false, the manager should too. Fixes #2359

pull/2414/head
Matthieu Auger 2013-11-11 17:43:11 +01:00
parent f134e09f45
commit fcba5257d9
1 changed files with 2 additions and 6 deletions

View File

@ -171,12 +171,8 @@ class Installer
unset($devRepo, $package);
// end BC
if ($this->preferSource) {
$this->downloadManager->setPreferSource(true);
}
if ($this->preferDist) {
$this->downloadManager->setPreferDist(true);
}
$this->downloadManager->setPreferSource($this->preferSource);
$this->downloadManager->setPreferDist($this->preferDist);
// 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