summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-21 22:42:51 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-21 22:42:51 +0000
commit240331f1d44a8ac92e5d1311a70fd6770e4ed29c (patch)
tree518d1cd4c1437d69f4fef8708272d69987e38e5b /mdkapplet
parent869d0511ebaa1888f75ae441aa8e47668050a28c (diff)
downloadmgaonline-240331f1d44a8ac92e5d1311a70fd6770e4ed29c.tar
mgaonline-240331f1d44a8ac92e5d1311a70fd6770e4ed29c.tar.gz
mgaonline-240331f1d44a8ac92e5d1311a70fd6770e4ed29c.tar.bz2
mgaonline-240331f1d44a8ac92e5d1311a70fd6770e4ed29c.tar.xz
mgaonline-240331f1d44a8ac92e5d1311a70fd6770e4ed29c.zip
(is_there_a_new_distributions) keep extended maintenance data around
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index a11d22d8..070a055d 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -253,7 +253,7 @@ my ($download_dir, $download_all);
$download_dir = $temp_urpm->{cachedir};
}
-my ($new_distro, $no_more_supported);
+my ($new_distro, $no_more_supported, $extended_maintenance_url, $extended_maintenance_end);
get_product_id();
shouldStart() or die "$localfile should be set to TRUE: please use --force or -f option to launch applet\n";
@@ -346,6 +346,7 @@ sub is_there_a_new_distributions() {
my $current_apimdv_distro = find { $_->{version} eq $product_id->{version} } @distros;
$no_more_supported = $current_apimdv_distro->{obsoleted_by};
+ ($extended_maintenance_url, $extended_maintenance_end) = @$current_apimdv_distro{qw(extended-maintenance extended-maintenance-end)};
if ($no_more_supported) {
$new_distro = find { $_->{version} eq $no_more_supported } @distros;
return;