diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-06 19:15:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-06 19:15:30 +0000 |
commit | 4d5afd7fdc3f25182c6bf442f432842e51211d0e (patch) | |
tree | f908a63ed3bd2435b23b08976ae160e40def4870 /urpm | |
parent | 1f9a9c8c51c8e2a205b2bdaae3706ed78d5b990c (diff) | |
download | urpmi-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.pm | 4 |
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); } } } |