summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-02 12:15:11 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-02 12:15:11 +0000
commit99a55b636d4f66de3602f36bcb3b23bc7ab63a89 (patch)
tree054d247ad729c9f6353b5b33fa43532b41409fad /mdkapplet
parente99988abce95e62657fca7df631704ca4a21f05d (diff)
downloadmgaonline-99a55b636d4f66de3602f36bcb3b23bc7ab63a89.tar
mgaonline-99a55b636d4f66de3602f36bcb3b23bc7ab63a89.tar.gz
mgaonline-99a55b636d4f66de3602f36bcb3b23bc7ab63a89.tar.bz2
mgaonline-99a55b636d4f66de3602f36bcb3b23bc7ab63a89.tar.xz
mgaonline-99a55b636d4f66de3602f36bcb3b23bc7ab63a89.zip
(is_there_a_new_distributions) use ensure_valid_cachedir() to
workarounding issue with downloading files as usero
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
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);
}
};