diff options
-rw-r--r-- | urpm/bug_report.pm | 2 | ||||
-rw-r--r-- | urpm/media.pm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm index d6aeb492..6e243252 100644 --- a/urpm/bug_report.pm +++ b/urpm/bug_report.pm @@ -30,7 +30,7 @@ sub write_urpmdb { foreach (@{$urpm->{media}}) { if (urpm::media::is_valid_medium($_)) { system('cp', urpm::media::any_synthesis($urpm, $_), - "$bug_report_dir/" . urpm::media::_synthesis($_)) == 0 or $urpm->{fatal}(1, "failed to copy $_->{name} synthesis"); + "$bug_report_dir/" . urpm::media::synthesis($_)) == 0 or $urpm->{fatal}(1, "failed to copy $_->{name} synthesis"); } } #- fake configuration written to convert virtual media on the fly. diff --git a/urpm/media.pm b/urpm/media.pm index 7bee8551..b0bbeb89 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -301,14 +301,14 @@ sub _url_with_synthesis { } -sub _synthesis { +sub synthesis { my ($medium) = @_; $medium->{name} && "synthesis.hdlist.$medium->{name}.cz"; } sub statedir_synthesis { my ($urpm, $medium) = @_; - "$urpm->{statedir}/" . _synthesis($medium); + "$urpm->{statedir}/" . synthesis($medium); } sub statedir_media_info_file { my ($urpm, $medium, $prefix, $suffix) = @_; |