aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-13 09:12:05 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-13 09:12:05 +0000
commit9a8b2defb4ac557aca9c27d8ba7fbb5f7b11a184 (patch)
tree1409e9fc9a819eabdb3f4025a9eba610942baa9f
parent43a9f0b1a62e910fecaa7bb710297f4b3a11860f (diff)
downloadrpmdrake-9a8b2defb4ac557aca9c27d8ba7fbb5f7b11a184.tar
rpmdrake-9a8b2defb4ac557aca9c27d8ba7fbb5f7b11a184.tar.gz
rpmdrake-9a8b2defb4ac557aca9c27d8ba7fbb5f7b11a184.tar.bz2
rpmdrake-9a8b2defb4ac557aca9c27d8ba7fbb5f7b11a184.tar.xz
rpmdrake-9a8b2defb4ac557aca9c27d8ba7fbb5f7b11a184.zip
(perform_removal) display already installed & not installable packages
-rwxr-xr-xRpmdrake/pkg.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index ccf98c60..4589c840 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -706,6 +706,10 @@ you may now inspect some in order to take actions:"),
and $statusbar_msg_id = statusbar_msg(N("All requested packages were installed successfully."));
display_READMEs_if_needed($urpm, $w);
},
+ already_installed_or_not_installable => sub {
+ my ($msg1, $msg2) = @_;
+ interactive_msg(N("Error"), join("\n", @$msg1, @$msg2));
+ },
},
);