summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-12-14 12:14:27 +0000
committerFrancois Pons <fpons@mandriva.com>2003-12-14 12:14:27 +0000
commit195c97f0e1637980fd67c3f1803e0e4dcd24188f (patch)
treed98c959d7c73a49bcf76e64fddb5dd969a82935a
parent7a78d478b9efd6d771a716351b1b2617281c252a (diff)
downloadurpmi-195c97f0e1637980fd67c3f1803e0e4dcd24188f.tar
urpmi-195c97f0e1637980fd67c3f1803e0e4dcd24188f.tar.gz
urpmi-195c97f0e1637980fd67c3f1803e0e4dcd24188f.tar.bz2
urpmi-195c97f0e1637980fd67c3f1803e0e4dcd24188f.tar.xz
urpmi-195c97f0e1637980fd67c3f1803e0e4dcd24188f.zip
fixed small typo.
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 11bc9fee..33f58ab0 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2441,10 +2441,10 @@ sub resolve_dependencies {
my %priority_state;
$urpm->resolve_requested($db, \%priority_state, \%priority_requested, %options);
- if (grep { ! exists $priority_state{$_} } keys %priority_requested) {
+ if (grep { ! exists $priority_state{selected}{$_} } keys %priority_requested) {
#- some packages which were selected previously have not been selected, strange!
$need_restart = 0;
- } elsif (grep {! exists $priority_state{$_} } keys %{$state->{selected}}) {
+ } elsif (grep { ! exists $priority_state{selected}{$_} } keys %{$state->{selected}}) {
#- there are other packages to install after this priority transaction.
%$state = %priority_state;
$need_restart = 1;