summaryrefslogtreecommitdiffstats
path: root/mdkapplet
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 /mdkapplet
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
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
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();