[Lunar-commits] r15132 - lunar/branches/stable/var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Sat May 28 12:31:09 UTC 2005


Author: sofar
Date: 2005-05-28 12:31:09 +0000 (Sat, 28 May 2005)
New Revision: 15132

Modified:
   lunar/branches/stable/var/lib/lunar/functions/download.lunar
Log:
Fix download bug on 'Custom' keyword.


Modified: lunar/branches/stable/var/lib/lunar/functions/download.lunar
===================================================================
--- lunar/branches/stable/var/lib/lunar/functions/download.lunar	2005-05-28 12:30:10 UTC (rev 15131)
+++ lunar/branches/stable/var/lib/lunar/functions/download.lunar	2005-05-28 12:31:09 UTC (rev 15132)
@@ -107,7 +107,7 @@
 					if [ "$EXHAUSTIVE" == "on" ]; then
 						# scan for hits agains known clusters of mirrors
 						for MLIST in $MIRRORS/*; do
-							for ALT in $(sed 's/.*\t\([^\t]*\)$/\1/g' $MLIST); do
+							for ALT in $(sed 's/.*\t\([^\t]*\)$/\1/g' $MLIST | grp -v "^Custom$"); do
 								if [ "${URL:0:${#ALT}}" == "$ALT" ] ; then
 									# compose the list of valid mirrors
 									REST=${URL:${#ALT}}



More information about the Lunar-commits mailing list