summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-06 16:13:29 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-06 16:13:29 +0000
commit02e1899aad9f954102e43e54364769efdbef0a55 (patch)
treebdda3e085ed7f096fc524b0b1090fdc98262b580 /perl-install/install
parentfba45b1178d82a0ee495eb39c1bb6bd7232a49d9 (diff)
downloaddrakx-02e1899aad9f954102e43e54364769efdbef0a55.tar
drakx-02e1899aad9f954102e43e54364769efdbef0a55.tar.gz
drakx-02e1899aad9f954102e43e54364769efdbef0a55.tar.bz2
drakx-02e1899aad9f954102e43e54364769efdbef0a55.tar.xz
drakx-02e1899aad9f954102e43e54364769efdbef0a55.zip
(configure_media) rename it as update_media() for consistency
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/any.pm2
-rw-r--r--perl-install/install/media.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 4871c7c29..6f211c991 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -335,7 +335,7 @@ sub setPackages {
if ($suppl_method) {
1 while $o->selectSupplMedia;
}
- install::media::configure_media($urpm);
+ install::media::update_media($urpm);
if (@errors) {
$::o->ask_warn(undef, N("An error occurred:") . "\n\n" . join("\n", @errors));
}
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 659f73136..ebbf99665 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -500,7 +500,7 @@ sub select_only_some_media {
}
}
-sub configure_media {
+sub update_media {
my ($packages) = @_;
urpm::media::update_media($packages, distrib => 1, callback => \&urpm::download::sync_logger) or
log::l('updating media failed');