summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-28 07:25:34 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-28 07:25:34 +0000
commitb64b6627fd41c0cb608d9dd081e2806fdb012bd7 (patch)
treec3a62d5de4e27f2e0f98a95f10aafdc898dae46b /mdkapplet
parentaaf848ee14feb7a2b32975c9d7ef47157e6d7e43 (diff)
downloadmgaonline-b64b6627fd41c0cb608d9dd081e2806fdb012bd7.tar
mgaonline-b64b6627fd41c0cb608d9dd081e2806fdb012bd7.tar.gz
mgaonline-b64b6627fd41c0cb608d9dd081e2806fdb012bd7.tar.bz2
mgaonline-b64b6627fd41c0cb608d9dd081e2806fdb012bd7.tar.xz
mgaonline-b64b6627fd41c0cb608d9dd081e2806fdb012bd7.zip
(is_there_a_new_distributions,harvester) skip some messages when product.id contains 'support=extended'
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet5
1 files changed, 3 insertions, 2 deletions
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');