[Lunar-commits] CVS: theedge/var/lib/lunar/functions download.lunar, 1.62, 1.63

Auke Kok sofar at lunar-linux.org
Mon Apr 25 19:31:41 UTC 2005


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/tmp/cvs-serv26477

Modified Files:
	download.lunar 
Log Message:
reinstate lget -u functionality.


Index: download.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/download.lunar,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- download.lunar	12 Apr 2005 07:34:00 -0000	1.62
+++ download.lunar	25 Apr 2005 19:31:37 -0000	1.63
@@ -85,7 +85,7 @@
 				fi
 			fi
 		}
-
+		
 		if plugin_call SOURCE_NEEDREFRESH ${URLS[0]} $SRC $SOURCE_CACHE || [ ! -f $SOURCE_CACHE/$SRC ] ; then
 			# check for cache?
 			message "${MESSAGE_COLOR}Downloading source file" \
@@ -115,6 +115,11 @@
 			done
 			add_url $LRESORT_URL
 		
+		    # we did all this hard work and now we toss it out:
+		    if [ -n "$BASE_URL" ] ; then
+		        ALL_URLS=$BASE_URL
+		    fi
+
 			for URL in $ALL_URLS; do
 				# and download
 				if download_url $URL $SRC $SOURCE_CACHE ; then



More information about the Lunar-commits mailing list