summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet9
1 files changed, 4 insertions, 5 deletions
diff --git a/mdkapplet b/mdkapplet
index cf947108..fcc2384c 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -357,14 +357,13 @@ sub process_state {
$locked_count = 0;
}
- my $no_more_supported = $no_more_supported &&
- !text2bool($local_config{DO_NOT_ASK_FOR_NO_MORE_SUPPORTED});
-
# busy critical delayed disabled disconnected locked loop_locked new_distribution no_enabled_medium no_enterprise_update_medium no_more_supported no_update_medium notsupported okay unconfigured_restricted_media update
if (!member($sub_state, qw(okay))) {
go2State($sub_state);
- } elsif ($no_more_supported && !text2bool($config{EXTENDED_SUPPORT})
- && !text2bool($local_config{EXTENDED_SUPPORT_OFFERED})) {
+ } elsif ($no_more_supported = $no_more_supported
+ && !text2bool($local_config{DO_NOT_ASK_FOR_NO_MORE_SUPPORTED})
+ && !text2bool($config{EXTENDED_SUPPORT})
+ && !text2bool($local_config{EXTENDED_SUPPORT_OFFERED})) {
go2State('no_more_supported');
} elsif (text2bool($config{EXTENDED_SUPPORT}) && is_extmaint_supported()
&& !text2bool($local_config{EXTENDED_SUPPORT_SPLASHED})) {