summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-10 14:01:21 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-10 14:01:21 +0000
commite64e12badf8b65f00008987d28c02fb6a167f4ed (patch)
tree4a5f5fc3d3849eeb5dceb48a8578bcfb3f0d6e0c /mdkapplet
parent8bab77b128d039dad2a0055ee1569eadbb6d232c (diff)
downloadmgaonline-e64e12badf8b65f00008987d28c02fb6a167f4ed.tar
mgaonline-e64e12badf8b65f00008987d28c02fb6a167f4ed.tar.gz
mgaonline-e64e12badf8b65f00008987d28c02fb6a167f4ed.tar.bz2
mgaonline-e64e12badf8b65f00008987d28c02fb6a167f4ed.tar.xz
mgaonline-e64e12badf8b65f00008987d28c02fb6a167f4ed.zip
do not lose no_more_supported value
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 442b8aa4..f7f7a89a 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -378,10 +378,10 @@ sub process_state {
# 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 = $no_more_supported
+ } elsif ($no_more_supported
&& !text2bool($local_config{DO_NOT_ASK_FOR_NO_MORE_SUPPORTED})
- && !text2bool($config{EXTENDED_SUPPORT})
- && !text2bool($local_config{EXTENDED_SUPPORT_OFFERED})) {
+ && !text2bool($config{EXTENDED_SUPPORT})
+ && !text2bool($local_config{EXTENDED_SUPPORT_OFFERED})) {
go2State('no_more_supported');
} elsif ($current_apimdv_distro->{obsoleted_by} && text2bool($config{EXTENDED_SUPPORT})
&& is_extmaint_supported()