diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-04 13:57:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-04 13:57:51 +0000 |
commit | 7c509d0e73cfca5230d99d262a8989f263c5660c (patch) | |
tree | b25f62d1a0485ece7a4268781e2efd8f6a6920cd | |
parent | 0e52aaca27cc67f04a94d0b3bc1cff7e1230c31c (diff) | |
download | mgaonline-7c509d0e73cfca5230d99d262a8989f263c5660c.tar mgaonline-7c509d0e73cfca5230d99d262a8989f263c5660c.tar.gz mgaonline-7c509d0e73cfca5230d99d262a8989f263c5660c.tar.bz2 mgaonline-7c509d0e73cfca5230d99d262a8989f263c5660c.tar.xz mgaonline-7c509d0e73cfca5230d99d262a8989f263c5660c.zip |
(is_there_a_new_distributions) further fix dowloading distributions
list by really gettint URI's content
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -263,8 +263,7 @@ sub is_there_a_new_distributions() { my @lines = eval { my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); - my $res = urpm::download::sync($urpm, undef, [ $list ], dir => urpm::userdir($urpm) || $urpm->{cachedir}); - $res or die sprintf("retrieval of [%s] failed", $list) . "\n"; + urpm::download::get_content($urpm, $list); }; if (my $err = $@) { |