[Lunar-commits] r15599 - lunar/trunk/var/lib/lunar/functions

Steven Michalske hardkrash at lunar-linux.org
Tue Jul 5 18:36:26 UTC 2005


Author: hardkrash
Date: 2005-07-05 18:36:24 +0000 (Tue, 05 Jul 2005)
New Revision: 15599

Modified:
   lunar/trunk/var/lib/lunar/functions/download.lunar
   lunar/trunk/var/lib/lunar/functions/plugins.lunar
Log:
fix the double // problem for good
indent fix


Modified: lunar/trunk/var/lib/lunar/functions/download.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/download.lunar	2005-07-05 18:15:42 UTC (rev 15598)
+++ lunar/trunk/var/lib/lunar/functions/download.lunar	2005-07-05 18:36:24 UTC (rev 15599)
@@ -61,8 +61,8 @@
 	# loop over all sources
 	for (( N = 0 ; N < MAX_SOURCES ; N++ )) ; do
 		# get the URL part
-		eval SRC=\$$(echo SOURCE$N | sed s/SOURCE0/SOURCE/ )
-		eval URLS=\${$(echo SOURCE${N}_URL | sed s/SOURCE0/SOURCE/ )[@]}
+		eval SRC=\$$(echo SOURCE$N | sed s/SOURCE0/SOURCE/ | sed ://:/:g )
+		eval URLS=\${$(echo SOURCE${N}_URL | sed s/SOURCE0/SOURCE/ | sed ://:/:g )[@]}
 
 		# continue (to next) if empty once, break if empty tiwce
 		if [ -z "$SRC" ] ; then

Modified: lunar/trunk/var/lib/lunar/functions/plugins.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/plugins.lunar	2005-07-05 18:15:42 UTC (rev 15598)
+++ lunar/trunk/var/lib/lunar/functions/plugins.lunar	2005-07-05 18:36:24 UTC (rev 15599)
@@ -25,7 +25,7 @@
 	# Defined plugin types:
 	#  1 - SOURCE_DOWNLOAD         download some source code
 	#  2 - SOURCE_NEEDREFRESH      source exists but needs refresh
-    #  3 - SOURCE_VERIFY           perform intergity verification on a file
+	#  3 - SOURCE_VERIFY           perform intergity verification on a file
 	#  4 - SOURCE_UNPACK           unpack a certain file to $(PWD)
 	#  5 - MODULE_CHECK            integrity checking on installed modules
 	#  6 - KERNEL_UPDATEBOOTLOADER automate bootloader maintenance



More information about the Lunar-commits mailing list