summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-23 18:54:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-23 18:54:16 +0000
commitdd6c83e0df7a238226c1ad3f4e150c34e8275998 (patch)
treed86e780cc7a7ff526d0c1e7c854f5f07427cc376 /urpm/media.pm
parent293aaa42d957988473ec93d6a2bc9d1f9f66e092 (diff)
downloadurpmi-dd6c83e0df7a238226c1ad3f4e150c34e8275998.tar
urpmi-dd6c83e0df7a238226c1ad3f4e150c34e8275998.tar.gz
urpmi-dd6c83e0df7a238226c1ad3f4e150c34e8275998.tar.bz2
urpmi-dd6c83e0df7a238226c1ad3f4e150c34e8275998.tar.xz
urpmi-dd6c83e0df7a238226c1ad3f4e150c34e8275998.zip
fix typo calling _is_local_virtual
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 4cfd33e4..82fd1e2f 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -332,7 +332,7 @@ sub cachedir_with_synthesis {
}
sub any_synthesis {
my ($urpm, $medium) = @_;
- my $f = _is_local_virtual($medium->{virtual}) ? _url_with_synthesis($medium)
+ my $f = _is_local_virtual($medium) ? _url_with_synthesis($medium)
: statedir_synthesis($urpm, $medium);
-e $f && $f;
}