[Lunar-commits] CVS: theedge/var/lib/lunar/functions download.lunar, 1.39, 1.40 main.lunar, 1.8, 1.9

Auke Kok sofar at lunar-linux.org
Mon Mar 8 22:57:05 GMT 2004


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv15388/var/lib/lunar/functions

Modified Files:
	download.lunar main.lunar 
Log Message:
This supposedly should fix the double-download bug. It was acutally caused by old cruft lying around. The show_dl_progress was the culprit. To make sure, all references to lget have been removed, except for the download_manager call from lin. This works for normal modules, ones with ERASE (theedge) and cvs stuff.


Index: download.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/download.lunar,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- download.lunar	3 Mar 2004 21:51:07 -0000	1.39
+++ download.lunar	8 Mar 2004 22:57:03 -0000	1.40
@@ -465,7 +465,7 @@
   debug_msg "show_downloading ($@)"
   if [ -e "$TEMP_DOWNLOADLOG" ] ; then
     verbose_msg "====== download progess:"
-    while ! lget $MODULE >> $TEMP_DOWNLOADLOG 2>&1 ; do
+    while lget_locked $MODULE ; do
       show_download_progress
       sleep 1
     done

Index: main.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/main.lunar,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- main.lunar	29 Dec 2003 18:09:42 -0000	1.8
+++ main.lunar	8 Mar 2004 22:57:03 -0000	1.9
@@ -182,9 +182,6 @@
     fi
   fi
 
-  # make sure we have the source code
-  lget $MODULE
-  
   # set the installwatchfile
   export INSTALLWATCHFILE=$(temp_create "$MODULE.installwatch")
 



More information about the Lunar-commits mailing list