summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet4
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e3757329..ccb0df70 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- mdkapplet
o add 2009.1 restricted media on 2009.1 (#50478)
+ o remember a new distro exists when checking for updates (distro
+ check is less frequent) (#50535)
o perform initial check after 3 seconds when using --testing
- mdkapplet-restricted-helper
o prevent having to cancel several time (#48999)
diff --git a/mdkapplet b/mdkapplet
index 18277774..1f37a0d9 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -345,6 +345,8 @@ sub harvester {
my $status = $? >> 8;
if ($mdv_update_pid && $mdv_update_pid == $childpid) {
undef $mdv_update_pid;
+ # make sure to not report new distro after distro upgrade:
+ undef $new_distro;
$schedule_checks = 1;
} elsif ($checker_pid && $checker_pid == $childpid) {
undef $checker_pid;
@@ -464,8 +466,8 @@ sub checker_exit {
sub silentCheck() {
state $check_time;
my $new_time = time();
- undef $new_distro;
if (!$check_time || $new_time - $check_time > $config{DISTRO_CHECK_DELAY}) {
+ undef $new_distro;
$check_time = $new_time;
is_there_a_new_distributions();
}