diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-30 17:17:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-30 17:17:54 +0000 |
commit | 0f757f957dfb1350b6654cc91972464f7d9febdf (patch) | |
tree | e77175339232e388485c3daa90ceb15878cbc8d2 /mdkapplet | |
parent | 03a1c78b23611b82853fe0b192f9f4a35c3b471f (diff) | |
download | mgaonline-0f757f957dfb1350b6654cc91972464f7d9febdf.tar mgaonline-0f757f957dfb1350b6654cc91972464f7d9febdf.tar.gz mgaonline-0f757f957dfb1350b6654cc91972464f7d9febdf.tar.bz2 mgaonline-0f757f957dfb1350b6654cc91972464f7d9febdf.tar.xz mgaonline-0f757f957dfb1350b6654cc91972464f7d9febdf.zip |
dd support for downloading distro list as user for 2008.1
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -269,7 +269,12 @@ sub is_there_a_new_distributions() { my @lines = eval { my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); - urpm::download::get_content($urpm, $list); + if (member($product_id->{version}, qw(2007.1 2008.0 2008.1))) { + require mdkapplet_urpm; + mdkapplet_urpm::get_content($urpm, $list); + } else { + urpm::download::get_content($urpm, $list); + } }; if (my $err = $@) { |