From dd6c83e0df7a238226c1ad3f4e150c34e8275998 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 23 Feb 2008 18:54:16 +0000 Subject: fix typo calling _is_local_virtual --- urpm/media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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; } -- cgit v1.2.1