summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-14 01:53:17 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-14 01:53:17 +0000
commita6bc1b19eb2ebd170816e9542de80597deff1027 (patch)
tree1232f601cf373adaebeb4a9943613e608403daf6
parent748beb04721564bbefe1abb0b62631ef3205225a (diff)
downloadmgaonline-a6bc1b19eb2ebd170816e9542de80597deff1027.tar
mgaonline-a6bc1b19eb2ebd170816e9542de80597deff1027.tar.gz
mgaonline-a6bc1b19eb2ebd170816e9542de80597deff1027.tar.bz2
mgaonline-a6bc1b19eb2ebd170816e9542de80597deff1027.tar.xz
mgaonline-a6bc1b19eb2ebd170816e9542de80597deff1027.zip
make sure to not report new distro after distro upgrade
-rw-r--r--NEWS1
-rwxr-xr-xmdkapplet1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 54abcb45..6cd2cbe3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- mdkapplet
+ o make sure to not report new distro after distro upgrade
o reread distro release after distro upgrade
Version 2.56 - 14 October 2008
diff --git a/mdkapplet b/mdkapplet
index 340bcebc..312ab5fb 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -418,6 +418,7 @@ sub installUpdates() {
sub silentCheck() {
state $check_time;
my $new_time = time();
+ undef $new_distro;
if (!$check_time || $new_time - $check_time > $config{DISTRO_CHECK_DELAY}) {
$check_time = $new_time;
is_there_a_new_distributions();