Skip adding (ignored) duplicate rules which were already added
parent
1d60ae1bfc
commit
3fcd042fd4
|
@ -277,8 +277,6 @@ class Solver
|
||||||
{
|
{
|
||||||
$updates = $this->policy->findUpdatePackages($this->pool, $this->installedMap, $package);
|
$updates = $this->policy->findUpdatePackages($this->pool, $this->installedMap, $package);
|
||||||
|
|
||||||
$this->addRulesForPackage($package);
|
|
||||||
|
|
||||||
foreach ($updates as $update) {
|
foreach ($updates as $update) {
|
||||||
$this->addRulesForPackage($update);
|
$this->addRulesForPackage($update);
|
||||||
}
|
}
|
||||||
|
@ -517,13 +515,9 @@ class Solver
|
||||||
|
|
||||||
foreach ($this->installedMap as $package) {
|
foreach ($this->installedMap as $package) {
|
||||||
$this->addRulesForPackage($package);
|
$this->addRulesForPackage($package);
|
||||||
}
|
|
||||||
|
|
||||||
foreach ($this->installedMap as $package) {
|
|
||||||
$this->addRulesForUpdatePackages($package);
|
$this->addRulesForUpdatePackages($package);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
foreach ($this->jobs as $job) {
|
foreach ($this->jobs as $job) {
|
||||||
foreach ($job['packages'] as $package) {
|
foreach ($job['packages'] as $package) {
|
||||||
switch ($job['cmd']) {
|
switch ($job['cmd']) {
|
||||||
|
|
Loading…
Reference in New Issue