summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 1e462a5e..507f82c0 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -353,6 +353,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;
}