summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet2
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3517ac7e..20dd359b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet
+ o actually honor DO_NOT_ASK_FOR_NO_MORE_SUPPORTED
+
Version 2.77.15.6 - 2 February 2010, Thierry Vignaud
- fix reported version
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);