aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 16:52:13 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 16:52:13 +0000
commita165b777357a695c67a26e4b4ab45ccbafabbd45 (patch)
treebdab6f2aa12e3676faf7da9003876a2533d1e7af
parent5b9b9409e231f9627a19b42d52673519d21ce1f1 (diff)
downloadrpmdrake-a165b777357a695c67a26e4b4ab45ccbafabbd45.tar
rpmdrake-a165b777357a695c67a26e4b4ab45ccbafabbd45.tar.gz
rpmdrake-a165b777357a695c67a26e4b4ab45ccbafabbd45.tar.bz2
rpmdrake-a165b777357a695c67a26e4b4ab45ccbafabbd45.tar.xz
rpmdrake-a165b777357a695c67a26e4b4ab45ccbafabbd45.zip
(copy_removable) do not pass the device around (we don't want to force a device anymore)
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm4
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 <tvignaud@mandriva.com>
- 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") },
);
},