summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-25 14:09:06 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-25 14:09:06 +0000
commitda2895c06e2fdde78b0a9eec63d906b85969e987 (patch)
tree3af85f55b079e59c702188e6fc3ac3bfef3bfe0e /mdkapplet
parent97f967e55040f3d5434e90d2cf81629e9d680be9 (diff)
downloadmgaonline-da2895c06e2fdde78b0a9eec63d906b85969e987.tar
mgaonline-da2895c06e2fdde78b0a9eec63d906b85969e987.tar.gz
mgaonline-da2895c06e2fdde78b0a9eec63d906b85969e987.tar.bz2
mgaonline-da2895c06e2fdde78b0a9eec63d906b85969e987.tar.xz
mgaonline-da2895c06e2fdde78b0a9eec63d906b85969e987.zip
(find_current_distro) factor code for mcc
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 5e477371..7af8938a 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -317,7 +317,7 @@ sub is_there_a_new_distributions() {
return 1;
}
- my $current_apimdv_distro = find { $_->{version} eq $product_id->{version} } @distros;
+ my $current_apimdv_distro = find_current_distro(@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) {