summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-02 15:58:32 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-02 15:58:32 +0000
commit7f016f310a7da956c0a841b7a3b6854677ccce1e (patch)
tree6d28d4c6da0dc069205716f12fc6393c48a860f7 /mdkapplet
parent03ab0f001ff2bd3f0aebfec7c84a037becca1e80 (diff)
downloadmgaonline-7f016f310a7da956c0a841b7a3b6854677ccce1e.tar
mgaonline-7f016f310a7da956c0a841b7a3b6854677ccce1e.tar.gz
mgaonline-7f016f310a7da956c0a841b7a3b6854677ccce1e.tar.bz2
mgaonline-7f016f310a7da956c0a841b7a3b6854677ccce1e.tar.xz
mgaonline-7f016f310a7da956c0a841b7a3b6854677ccce1e.zip
(harvester) actually honor DO_NOT_ASK_FOR_NO_MORE_SUPPORTED
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 13b83c22..fbf038e2 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -367,6 +367,8 @@ sub harvester {
} else {
$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);