1
0
Fork 0

Skip adding (ignored) duplicate rules which were already added

pull/715/head
Nils Adermann 2012-05-15 20:03:57 +02:00
parent 1d60ae1bfc
commit 3fcd042fd4
1 changed files with 0 additions and 6 deletions

View File

@ -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']) {