summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-03 22:45:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-03 22:45:23 +0000
commitf9bc68f05097e6a4cb9c81dc53c3f46e215f1684 (patch)
tree8ad6e6ebeae9eec5da55a5a4f74c378ac63cc880 /urpm/media.pm
parent87ccf7438dc42b7f611ecabfaf36ddfe29e345da (diff)
downloadurpmi-f9bc68f05097e6a4cb9c81dc53c3f46e215f1684.tar
urpmi-f9bc68f05097e6a4cb9c81dc53c3f46e215f1684.tar.gz
urpmi-f9bc68f05097e6a4cb9c81dc53c3f46e215f1684.tar.bz2
urpmi-f9bc68f05097e6a4cb9c81dc53c3f46e215f1684.tar.xz
urpmi-f9bc68f05097e6a4cb9c81dc53c3f46e215f1684.zip
correctly name function since it's outside of its module
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm4
1 files changed, 2 insertions, 2 deletions
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) = @_;