From a165b777357a695c67a26e4b4ab45ccbafabbd45 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Mar 2008 16:52:13 +0000 Subject: (copy_removable) do not pass the device around (we don't want to force a device anymore) --- NEWS | 2 ++ Rpmdrake/pkg.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index e8c2399c..d4b885d7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- adapt to urpmi-5.7 API + Version 4.3.1 - Wed Feb 27 2008, Thierry Vignaud - rpmdrake's package list: diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 7d961816..1779ec18 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -691,10 +691,10 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( post_removable => sub { alarm $remaining }, copy_removable => sub { - my ($medium, $device) = @_; + my ($medium) = @_; interactive_msg( N("Change medium"), - N("Please insert the medium named \"%s\" on device [%s]", $medium, $device), + N("Please insert the medium named \"%s\"", $medium), yesno => 1, text => { no => N("Cancel"), yes => N("Ok") }, ); }, -- cgit v1.2.1