From 99a55b636d4f66de3602f36bcb3b23bc7ab63a89 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 2 Oct 2008 12:15:11 +0000 Subject: (is_there_a_new_distributions) use ensure_valid_cachedir() to workarounding issue with downloading files as usero --- NEWS | 3 +++ mdkapplet | 2 ++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 23ffc346..87fede6b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- mdkapplet + o workarounding issue with downloading files as user + Version 2.46 - 2 October 2008 - mdkapplet diff --git a/mdkapplet b/mdkapplet index a276239d..02274a17 100755 --- a/mdkapplet +++ b/mdkapplet @@ -265,8 +265,10 @@ sub is_there_a_new_distributions() { my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); if (member($product_id->{version}, qw(2007.1 2008.0 2008.1))) { require mdkapplet_urpm; + mdkapplet_urpm::ensure_valid_cachedir($urpm); mdkapplet_urpm::get_content($urpm, $list); } else { + urpm::ensure_valid_cachedir($urpm); urpm::download::get_content($urpm, $list); } }; -- cgit v1.2.1