From b64b6627fd41c0cb608d9dd081e2806fdb012bd7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 28 Jan 2010 07:25:34 +0000 Subject: (is_there_a_new_distributions,harvester) skip some messages when product.id contains 'support=extended' --- mdkapplet | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mdkapplet') diff --git a/mdkapplet b/mdkapplet index dad5cf9d..13b83c22 100755 --- a/mdkapplet +++ b/mdkapplet @@ -311,7 +311,7 @@ sub is_there_a_new_distributions() { } my $current_apimdv_distro = find_current_distro(@distros); - $no_more_supported = $current_apimdv_distro->{obsoleted_by}; + $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(); if ($no_more_supported) { @@ -373,7 +373,8 @@ sub harvester { } elsif ($no_more_supported && !text2bool($config{EXTENDED_SUPPORT})) { go2State('no_more_supported'); } elsif ($no_more_supported && text2bool($config{EXTENDED_SUPPORT}) - && !text2bool($local_config{EXTENDED_SUPPORT_SPLASHED})) { + && !text2bool($local_config{EXTENDED_SUPPORT_SPLASHED} + && !is_extmaint_supported())) { $state{extended_support_is_enabled}{tt}[0] = N("Basic maintenance for this distribution has expired. Thanks to your subscription to extended maintenance, your system will be kept up to date until %s", iso8601_date_to_locale($extended_maintenance_end)); go2State('extended_support_is_enabled'); -- cgit v1.2.1