Change package download functions back to HTTP until the FTP mirror rotation problems solved
This commit is contained in:
parent
6eef5ef3fe
commit
d591ee55e8
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue