summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-30 17:17:54 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-30 17:17:54 +0000
commit0f757f957dfb1350b6654cc91972464f7d9febdf (patch)
treee77175339232e388485c3daa90ceb15878cbc8d2 /mdkapplet
parent03a1c78b23611b82853fe0b192f9f4a35c3b471f (diff)
downloadmgaonline-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-xmdkapplet7
1 files changed, 6 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index d42cd0c9..291c80eb 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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 = $@) {