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

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


Author: sofar
Date: 2005-05-28 12:30:10 +0000 (Sat, 28 May 2005)
New Revision: 15131

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


Modified: lunar/trunk/var/lib/lunar/functions/download.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/download.lunar	2005-05-28 07:19:24 UTC (rev 15130)
+++ lunar/trunk/var/lib/lunar/functions/download.lunar	2005-05-28 12:30:10 UTC (rev 15131)
@@ -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