[Lunar-commits] <lunar> Fix download bug on 'Custom' keyword.
Auke Kok
sofar at lunar-linux.org
Mon Jul 2 04:43:03 CEST 2012
commit 86e2a86895cea0bf499f17fd978edeceaed0094f
Author: Auke Kok <sofar at lunar-linux.org>
Date: Sat May 28 12:31:09 2005 +0000
Fix download bug on 'Custom' keyword.
---
var/lib/lunar/functions/download.lunar | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/var/lib/lunar/functions/download.lunar b/var/lib/lunar/functions/download.lunar
index 7d7571b..03af539 100644
--- a/var/lib/lunar/functions/download.lunar
+++ b/var/lib/lunar/functions/download.lunar
@@ -107,7 +107,7 @@ download_module() {
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