From 5b9b9409e231f9627a19b42d52673519d21ce1f1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Mar 2008 15:19:12 +0000 Subject: (copy_removable) name parameters --- Rpmdrake/pkg.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 17424ecd..7d961816 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -691,9 +691,10 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( post_removable => sub { alarm $remaining }, copy_removable => sub { + my ($medium, $device) = @_; interactive_msg( N("Change medium"), - N("Please insert the medium named \"%s\" on device [%s]", $_[0], $_[1]), + N("Please insert the medium named \"%s\" on device [%s]", $medium, $device), yesno => 1, text => { no => N("Cancel"), yes => N("Ok") }, ); }, -- cgit v1.2.1