summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-21 17:29:41 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-21 17:29:41 +0000
commit4aee4c44b3c00e4c833c7b075bcc4476a5b775ef (patch)
tree2a516c7a3b2e3717bc6cda33078319dcb7d8b406
parent673243878aa667d574530e32e98d535bbb0ef746 (diff)
downloadmgaonline-4aee4c44b3c00e4c833c7b075bcc4476a5b775ef.tar
mgaonline-4aee4c44b3c00e4c833c7b075bcc4476a5b775ef.tar.gz
mgaonline-4aee4c44b3c00e4c833c7b075bcc4476a5b775ef.tar.bz2
mgaonline-4aee4c44b3c00e4c833c7b075bcc4476a5b775ef.tar.xz
mgaonline-4aee4c44b3c00e4c833c7b075bcc4476a5b775ef.zip
(checkNetwork) do not check for network while checking for updates
-rw-r--r--NEWS1
-rwxr-xr-xmdkapplet1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 62f8a17f..4015a29e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- mdkapplet:
o do not skip first RPM check (change made in 2.16 in march 2007)
+ o do not check for network while checking for updates
Version 2.38 - 20 March 2008, Thierry Vignaud
diff --git a/mdkapplet b/mdkapplet
index dfdf65b3..68df2e0a 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -408,6 +408,7 @@ sub setLastTime() {
}
sub checkNetwork() {
+ return if $checker_pid;
require network::tools;
if (!network::tools::has_network_connection()) {
# do not notify if already done: