From 0f757f957dfb1350b6654cc91972464f7d9febdf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 30 Sep 2008 17:17:54 +0000 Subject: dd support for downloading distro list as user for 2008.1 --- mdkapplet | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mdkapplet') 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 = $@) { -- cgit v1.2.1