From 8b7f649d172111d352e6c808fb8512b959948296 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 19 Dec 2007 14:50:34 +0000 Subject: small cleanup --- urpm/media.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/urpm/media.pm b/urpm/media.pm index 829962c3..d481f8c8 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1284,12 +1284,12 @@ sub _update_medium_first_pass { } } - if (!$medium->{virtual} && file_size(cachedir_with_synthesis($urpm, $medium)) < 20) { - $urpm->{error}(N("no synthesis file found for medium \"%s\"", $medium->{name})); - return; - } - if (!$medium->{virtual}) { + if (file_size(cachedir_with_synthesis($urpm, $medium)) < 20) { + $urpm->{error}(N("no synthesis file found for medium \"%s\"", $medium->{name})); + return; + } + $options{callback} and $options{callback}('parse', $medium->{name}); if (_parse_synthesis($urpm, $medium, cachedir_with_synthesis($urpm, $medium))) { -- cgit v1.2.1