summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-05 15:33:02 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-05 15:33:02 +0000
commit8d2084dc06cb485178cc1c0324634b523dd4194b (patch)
tree1648fcd683c7af529600d0aa608b4be0b2204299
parentdc662adef44a3514ad18183e69debba8f4cebddc (diff)
downloadmgaonline-8d2084dc06cb485178cc1c0324634b523dd4194b.tar
mgaonline-8d2084dc06cb485178cc1c0324634b523dd4194b.tar.gz
mgaonline-8d2084dc06cb485178cc1c0324634b523dd4194b.tar.bz2
mgaonline-8d2084dc06cb485178cc1c0324634b523dd4194b.tar.xz
mgaonline-8d2084dc06cb485178cc1c0324634b523dd4194b.zip
(process_state) remove now useless variable
-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})) {