diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/media.pm | 2 |
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; } |