Change package download functions back to HTTP until the FTP mirror rotation problems solved

This commit is contained in:
George Boudreau 2006-03-22 14:15:22 +00:00
parent 6eef5ef3fe
commit d591ee55e8
2 changed files with 5 additions and 2 deletions

View file

@ -783,13 +783,15 @@ download() { # Download file, write name to MISSING_FILES.DMP if
if [ ! -f $2 ] ; then
case $DL in
wget ) wget --passive $FTP/$DIR/$2 ;;
wgetFTP ) wget --passive $FTP/$DIR/$2 ;;
wget ) wget $HTTP/$DIR/$2 ;;
curl ) `curl -# $FTP/$DIR/$2 -o $2` ;;
* ) echo "$DL not supported at this time." ;;
esac
elif ! echo "$MD5" | md5sum -c - >/dev/null 2>/dev/null ; then
case $DL in
wget ) wget --passive -c $FTP/$DIR/$2 ;;
wgetFTP ) wget --passive -c $FTP/$DIR/$2 ;;
wget ) wget -c $HTTP/$DIR/$2 ;;
curl ) `curl -# -C - $FTP/$DIR/$2 -o $2` ;;
* ) echo "$DL not supported at this time." ;;
esac

View file

@ -7,6 +7,7 @@
declare -r SVN="svn://svn.linuxfromscratch.org"
declare -r LOG=000-masterscript.log
declare -r HTTP=http://ftp.lfs-matrix.net/pub/lfs/conglomeration
#--- Mount point for the build
BUILDDIR=/mnt/SourceFiles