summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-06 19:15:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-06 19:15:30 +0000
commit4d5afd7fdc3f25182c6bf442f432842e51211d0e (patch)
treef908a63ed3bd2435b23b08976ae160e40def4870 /urpm
parent1f9a9c8c51c8e2a205b2bdaae3706ed78d5b990c (diff)
downloadurpmi-4d5afd7fdc3f25182c6bf442f432842e51211d0e.tar
urpmi-4d5afd7fdc3f25182c6bf442f432842e51211d0e.tar.gz
urpmi-4d5afd7fdc3f25182c6bf442f432842e51211d0e.tar.bz2
urpmi-4d5afd7fdc3f25182c6bf442f432842e51211d0e.tar.xz
urpmi-4d5afd7fdc3f25182c6bf442f432842e51211d0e.zip
fix previous commit
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index c96b208a..50f6e657 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -273,7 +273,7 @@ sub resolve_dependencies {
#- (it should catch all occurences in --auto-select mode)
#- (nb: a package "foo" may appear twice, and only one will be set flag_upgrade)
if (my @l = grep { $_->flag_upgrade } @priority_upgrade) {
- _resolve_priority_upgrades($urpm, $db, $state, $requested, \@l, %options);
+ $need_restart = _resolve_priority_upgrades($urpm, $db, $state, $requested, \@l, %options);
}
}
@@ -283,7 +283,7 @@ sub resolve_dependencies {
#- now check if a priority_upgrade package has been required
#- by a requested package
if (my @l = grep { $state->{selected}{$_->id} } @priority_upgrade) {
- _resolve_priority_upgrades($urpm, $db, $state, $state->{selected}, \@l, %options);
+ $need_restart = _resolve_priority_upgrades($urpm, $db, $state, $state->{selected}, \@l, %options);
}
}
}