summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-05 15:33:05 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-05 15:33:05 +0000
commitf3009715df455d980262218aa9e152cbfdc739f1 (patch)
tree82411053d10ee7338ca99a6cfdc5d606f28814ba
parent8d2084dc06cb485178cc1c0324634b523dd4194b (diff)
downloadmgaonline-f3009715df455d980262218aa9e152cbfdc739f1.tar
mgaonline-f3009715df455d980262218aa9e152cbfdc739f1.tar.gz
mgaonline-f3009715df455d980262218aa9e152cbfdc739f1.tar.bz2
mgaonline-f3009715df455d980262218aa9e152cbfdc739f1.tar.xz
mgaonline-f3009715df455d980262218aa9e152cbfdc739f1.zip
(is_there_a_new_distributions) keep full api.mdv.com's current
distro's data around
-rwxr-xr-xmdkapplet4
1 files changed, 3 insertions, 1 deletions
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();