summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-19 16:00:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-19 16:00:11 +0000
commitb3ec44efa1b101ed97900f0762bf492b131399f5 (patch)
treebcdbe86d51530ee0fe1641dd31fd290763a19cb7 /urpm/media.pm
parent4205a6a96ffe26f8022e003dd81ba8ad8096766e (diff)
downloadurpmi-b3ec44efa1b101ed97900f0762bf492b131399f5.tar
urpmi-b3ec44efa1b101ed97900f0762bf492b131399f5.tar.gz
urpmi-b3ec44efa1b101ed97900f0762bf492b131399f5.tar.bz2
urpmi-b3ec44efa1b101ed97900f0762bf492b131399f5.tar.xz
urpmi-b3ec44efa1b101ed97900f0762bf492b131399f5.zip
rename functions (there is only one pass now)
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index be91f4af..20d34b64 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1245,7 +1245,7 @@ sub _read_cachedir_pubkey {
#- options: callback, force, nomd5sum, probe_with, quiet, nopubkey, wait_lock
#- (from _update_medium__parse_if_unmodified__local and _update_medium__parse_if_unmodified__remote)
-sub _update_medium_first_pass_ {
+sub _update_medium_ {
my ($urpm, $medium, %options) = @_;
unless ($medium->{modified}) {
@@ -1321,10 +1321,10 @@ sub _update_medium_first_pass_ {
1;
}
-sub _update_medium_first_pass {
+sub _update_medium {
my ($urpm, $medium, %options) = @_;
- my $rc = _update_medium_first_pass_($urpm, $medium, %options);
+ my $rc = _update_medium_($urpm, $medium, %options);
if (!$rc && !$medium->{virtual}) {
#- an error has occured for updating the medium, we have to remove temporary files.
@@ -1379,7 +1379,7 @@ sub update_media {
my %updates_result;
foreach my $medium (grep { !$_->{ignore} } @{$urpm->{media}}) {
- my $rc = _update_medium_first_pass($urpm, $medium, %options);
+ my $rc = _update_medium($urpm, $medium, %options);
$updates_result{$rc || 'error'}++;
}