summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 2ab00ce7..763df586 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -290,6 +290,7 @@ sub resolve_dependencies {
$need_restart = _resolve_priority_upgrades($urpm, $db, $state, $state->{selected}, \@l, %options);
}
}
+ $urpm->{options}{'split-length'} = 0 if $need_restart;
}
$need_restart;
}