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 | |
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
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- mdkapplet + o workarounding issue with downloading files as user + Version 2.46 - 2 October 2008 - 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); } }; |