From f3009715df455d980262218aa9e152cbfdc739f1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 5 Feb 2010 15:33:05 +0000 Subject: (is_there_a_new_distributions) keep full api.mdv.com's current distro's data around --- mdkapplet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mdkapplet b/mdkapplet index fcc2384c..599af84e 100755 --- a/mdkapplet +++ b/mdkapplet @@ -263,6 +263,8 @@ my ($download_dir, $download_all); } my ($new_distro, $no_more_supported, $extended_maintenance_url, $extended_maintenance_end); +my ($current_apimdv_distro); + get_product_id(); shouldStart() or die "$localfile should be set to TRUE: please use --force or -f option to launch applet\n"; @@ -310,7 +312,7 @@ sub is_there_a_new_distributions() { return 1; } - my $current_apimdv_distro = find_current_distro(@distros); + $current_apimdv_distro = find_current_distro(@distros); $no_more_supported = $current_apimdv_distro->{obsoleted_by} if !is_extmaint_supported(); ($extended_maintenance_url, $extended_maintenance_end) = @$current_apimdv_distro{qw(extended-maintenance extended-maintenance-end)}; refresh_no_more_supported_msg(); -- cgit v1.2.1