summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-28 15:15:05 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-28 15:15:05 +0000
commitecb2ba937d2cc0a9f864ab98c5e99a3872794a5c (patch)
tree6b9a84c478f75def748ccc708bfe7581fa4a9b04 /urpm.pm
parent8316b9108bfca41870f87c533c76efe62cbf7562 (diff)
downloadurpmi-ecb2ba937d2cc0a9f864ab98c5e99a3872794a5c.tar
urpmi-ecb2ba937d2cc0a9f864ab98c5e99a3872794a5c.tar.gz
urpmi-ecb2ba937d2cc0a9f864ab98c5e99a3872794a5c.tar.bz2
urpmi-ecb2ba937d2cc0a9f864ab98c5e99a3872794a5c.tar.xz
urpmi-ecb2ba937d2cc0a9f864ab98c5e99a3872794a5c.zip
4.4-13mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index fd8a178b..e42f3424 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2982,7 +2982,9 @@ sub translate_why_unselected {
my @unsatisfied = @{$rb->{unsatisfied} || []};
my $s = join ", ", ((map { N("due to missing %s", $_) } @froms),
(map { N("due to unsatisfied %s", $_) } @unsatisfied),
- $rb->{promote} ? N("trying to promote %s by selection of %s", $rb->{promote}, $rb->{psel}) : @{[]});
+ $rb->{promote} && !$rb->{keep} ? N("trying to promote %s", join(", ", @{$rb->{promote}})) : @{[]},
+ $rb->{keep} ? N("in order to keep %s", join(", ", @{$rb->{keep}})) : @{[]},
+ );
$_ . ($s ? " ($s)" : '');
} @l;
}