summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:20 +0000
commitb465fbfe32709790039c93b80d85e12807ab11e5 (patch)
tree2aa1ab2abc50beb3e17dd7afbe1d192b238d75e0
parentd90e2c33fec88adabef87549ec3d1b4fb65d9587 (diff)
downloadurpmi-b465fbfe32709790039c93b80d85e12807ab11e5.tar
urpmi-b465fbfe32709790039c93b80d85e12807ab11e5.tar.gz
urpmi-b465fbfe32709790039c93b80d85e12807ab11e5.tar.bz2
urpmi-b465fbfe32709790039c93b80d85e12807ab11e5.tar.xz
urpmi-b465fbfe32709790039c93b80d85e12807ab11e5.zip
(run) drop unused parameter
warning: needs newer drakx & rpmdrake
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi22
-rw-r--r--urpm/main_loop.pm2
-rwxr-xr-xurpmi2
4 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 68a141af..ad81710a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- fix testsuite
- library:
o enhanced doc
+ o internal cleanup (needs new drakx/rpmdrake)
- security:
o downgrade missing medium key check question to a warning for virtual media
without keys when using urpmi --use-distrib
diff --git a/gurpmi2 b/gurpmi2
index da395ef0..b3474d30 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -331,7 +331,7 @@ sub do_install_3 () {
sync();
};
- my $exit_code = urpm::main_loop::run($urpm, $state, scalar(@gurpmi::names), \@ask_unselect, \%requested, {
+ my $exit_code = urpm::main_loop::run($urpm, $state, scalar(@gurpmi::names), \@ask_unselect, {
bad_signature => sub {
my ($msg, $msg2) = @_;
$urpm->{log}("$msg\n$msg2");
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 52525da1..bd6e9e9b 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -349,7 +349,7 @@ Warning: locking is left to callers...
sub run {
- my ($urpm, $state, $something_was_to_be_done, $ask_unselect, $_requested, $callbacks) = @_;
+ my ($urpm, $state, $something_was_to_be_done, $ask_unselect, $callbacks) = @_;
#- global boolean options
($auto_select, $no_install, $install_src, $clean, $noclean, $force, $parallel, $test) =
diff --git a/urpmi b/urpmi
index 46141214..cdcd62c4 100755
--- a/urpmi
+++ b/urpmi
@@ -633,7 +633,7 @@ if (!$urpm->{options}{auto} && $ask_user && $urpm->{nb_install} || $env && !$opt
my $exit_code = urpm::main_loop::run($urpm, $state,
int(@names || @src_names || @files || @src_files),
- \@ask_unselect, \%requested, {
+ \@ask_unselect, {
(!$urpm->{options}{auto} || $allow_medium_change ? (copy_removable => sub {
my $msg = N("Please insert the medium named \"%s\"", $_[0]);
if (eval { require Hal::Cdroms; 1 }) {