summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-04 13:57:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-04 13:57:51 +0000
commit7c509d0e73cfca5230d99d262a8989f263c5660c (patch)
treeb25f62d1a0485ece7a4268781e2efd8f6a6920cd
parent0e52aaca27cc67f04a94d0b3bc1cff7e1230c31c (diff)
downloadmgaonline-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-xmdkapplet3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 3672ee33..0046ec1f 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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 = $@) {