[Debian-live-changes] r2122 - dists/trunk/live-helper/helpers
otavio at alioth.debian.org
otavio at alioth.debian.org
Sat Jun 16 14:12:11 UTC 2007
Author: otavio
Date: 2007-06-16 14:12:11 +0000 (Sat, 16 Jun 2007)
New Revision: 2122
Modified:
dists/trunk/live-helper/helpers/lh_binary_debian-installer
Log:
Use xargs to call wget and improve its download speed due pipeline
Modified: dists/trunk/live-helper/helpers/lh_binary_debian-installer
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_debian-installer 2007-06-16 14:04:10 UTC (rev 2121)
+++ dists/trunk/live-helper/helpers/lh_binary_debian-installer 2007-06-16 14:12:11 UTC (rev 2122)
@@ -229,10 +229,12 @@
UDEBS="`awk '/Filename: / { print $2 }' Packages`"
# Downloading udebs
+DOWNLOAD=""
for UDEB in ${UDEBS}
do
- wget "${LIVE_MIRROR_BOOTSTRAP}"/${UDEB}
+ DOWNLOAD="$DOWNLOAD ${LIVE_MIRROR_BOOTSTRAP}/${UDEB}"
done
+echo $DOWNLOAD | xargs wget
# Excluding udebs
grep -v "^#" ${LH_BASE:-/usr/share/live-helper}/data/debian-cd/"${LIVE_DISTRIBUTION}"/exclude-udebs > exclude
More information about the Debian-live-changes
mailing list