diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:42:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:42:51 +0000 |
commit | 240331f1d44a8ac92e5d1311a70fd6770e4ed29c (patch) | |
tree | 518d1cd4c1437d69f4fef8708272d69987e38e5b /mdkapplet | |
parent | 869d0511ebaa1888f75ae441aa8e47668050a28c (diff) | |
download | mgaonline-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-x | mdkapplet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |