summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/urpm.pm b/urpm.pm
index 6e597e47..1231089e 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1086,11 +1086,7 @@ sub _update_media__when_not_modified {
delete @$medium{qw(start end)};
if ($medium->{virtual}) {
if (file_from_file_url($medium->{url})) {
- if ($medium->{synthesis}) {
- _parse_synthesis($urpm, $medium, hdlist_or_synthesis_for_virtual_medium($medium));
- } else {
- _parse_hdlist($urpm, $medium, hdlist_or_synthesis_for_virtual_medium($medium));
- }
+ _parse_maybe_hdlist_or_synthesis($urpm, $medium, hdlist_or_synthesis_for_virtual_medium($medium));
} else {
$urpm->{error}(N("virtual medium \"%s\" is not local, medium ignored", $medium->{name}));
$medium->{ignore} = 1;