summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-21 17:20:34 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-21 17:20:34 +0000
commit673243878aa667d574530e32e98d535bbb0ef746 (patch)
treed8c0153bee639bbcb019278e56ddf586b646f819 /mdkapplet
parent0a15489d90cb0bf7e61415220182b6009b03ded9 (diff)
downloadmgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar.gz
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar.bz2
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.tar.xz
mgaonline-673243878aa667d574530e32e98d535bbb0ef746.zip
(setup_cyclic_check) do not skip first RPM check (reverting r57280
from 2007-03-23: "(setup_cyclic_check) skip the first check (aka wait 3hour)")
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet5
1 files changed, 0 insertions, 5 deletions
diff --git a/mdkapplet b/mdkapplet
index 37d93673..dfdf65b3 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -391,11 +391,6 @@ sub okState() { logIt(N_("System is up-to-date\n")); go2State('okay') }
sub setup_cyclic_check() {
$network_timeout = Glib::Timeout->add(2000, sub { checkNetwork(); 1 });
$timeout = Glib::Timeout->add($config{UPDATE_FREQUENCY}*1000, sub {
- my $first_run if 0;
- if (!$first_run) {
- $first_run = 1;
- return 1;
- }
checkUpdates();
1;
});