diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-02 12:15:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-02 12:15:11 +0000 |
commit | 99a55b636d4f66de3602f36bcb3b23bc7ab63a89 (patch) | |
tree | 054d247ad729c9f6353b5b33fa43532b41409fad /mdkapplet | |
parent | e99988abce95e62657fca7df631704ca4a21f05d (diff) | |
download | mgaonline-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-x | mdkapplet | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } }; |