aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-12-01 12:05:23 +0000
committerThierry Vignaud <tv@mandriva.org>2006-12-01 12:05:23 +0000
commit22590612d2e0fa97c60f1b99b60dcb3dffc0787c (patch)
treefbb0fba136cb0d6386aadb2a5271c201496901c6
parentb016587903d942272c47461a9cadc3889405c827 (diff)
downloadrpmdrake-22590612d2e0fa97c60f1b99b60dcb3dffc0787c.tar
rpmdrake-22590612d2e0fa97c60f1b99b60dcb3dffc0787c.tar.gz
rpmdrake-22590612d2e0fa97c60f1b99b60dcb3dffc0787c.tar.bz2
rpmdrake-22590612d2e0fa97c60f1b99b60dcb3dffc0787c.tar.xz
rpmdrake-22590612d2e0fa97c60f1b99b60dcb3dffc0787c.zip
(toggle_nodes) fix explaining why package isn't selectable
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 4248794a..dd4b5e2c 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1047,7 +1047,7 @@ or you already installed all of them."));
my @ask_unselect = urpm::select::unselected_packages($urpm, $urpm->{state});
my @reasons = map {
my $cant = $_;
- my $unsel = find { remove_arch($_) eq $cant } @ask_unselect;
+ my $unsel = find { $_ eq $cant } @ask_unselect;
$unsel
? join("\n", urpm::select::translate_why_unselected($urpm, $urpm->{state}, $unsel))
: ($pkgs->{$_}{pkg}->flag_skip ? N("%s (belongs to the skip list)", $cant) : $cant);