diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 09:34:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 09:34:44 +0000 |
commit | 0396e57b9d6e88dcfa54d696beec68fd506020ef (patch) | |
tree | f9982005a5258f35a79db457fd4fae3d9b59e0e7 | |
parent | 946c2730f4cfd4b18c5a292481b60284bc95a34b (diff) | |
download | urpmi-0396e57b9d6e88dcfa54d696beec68fd506020ef.tar urpmi-0396e57b9d6e88dcfa54d696beec68fd506020ef.tar.gz urpmi-0396e57b9d6e88dcfa54d696beec68fd506020ef.tar.bz2 urpmi-0396e57b9d6e88dcfa54d696beec68fd506020ef.tar.xz urpmi-0396e57b9d6e88dcfa54d696beec68fd506020ef.zip |
use _parse_maybe_hdlist_or_synthesis()
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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; |