Changeset b701a0f


Ignore:
Timestamp:
03/03/2006 08:58:07 PM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
86860fd
Parents:
b792da1
Message:

Set scripts to use ftp mirrors instead of a specific http mirror for downloads

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • HLFS/jhahlfs

    rb792da1 rb701a0f  
    525525  if [ ! -f $2 ] ; then
    526526    case $DL in
    527       wget )  wget $HTTP/$DIR/$2            ;;
    528       curl )  `curl -# $HTTP/$DIR/$2 -o $2`     ;;
     527      wget )  wget --passive $FTP/$DIR/$2            ;;
     528      curl )  `curl -# $FTP/$DIR/$2 -o $2`     ;;
    529529      * )     echo "$DL not supported at this time."  ;;
    530530    esac
    531531  elif ! echo "$MD5" | md5sum -c - >/dev/null 2>/dev/null ; then
    532532    case $DL in
    533       wget )  wget -c $HTTP/$DIR/$2         ;;
    534       curl )  `curl -# -C - $HTTP/$DIR/$2 -o $2`    ;;
     533      wget )  wget --passive -c $FTP/$DIR/$2         ;;
     534      curl )  `curl -# -C - $FTP/$DIR/$2 -o $2`    ;;
    535535      * )     echo "$DL not supported at this time."  ;;
    536536    esac
  • HLFS/jhahlfs.conf

    rb792da1 rb701a0f  
    66
    77declare -r SVN="svn://svn.linuxfromscratch.org"
    8 declare -r HTTP=http://ftp.lfs-matrix.net/pub/lfs/conglomeration
     8declare -r FTP=http://ftp.linuxfromscratch.org/pub/lfs/conglomeration
    99declare -r LOG=000-jhahlfs.log
    1010
  • jhalfs

    rb792da1 rb701a0f  
    259259    case $DL in
    260260      wget )
    261         wget $HTTP/$DIR/$2
     261        wget --passive $FTP/$DIR/$2
    262262        ;;
    263263      curl )
    264         `curl -# $HTTP/$DIR/$2 -o $2`
     264        `curl -# $FTP/$DIR/$2 -o $2`
    265265        ;;
    266266      * )
     
    271271    case $DL in
    272272      wget )
    273         wget -c $HTTP/$DIR/$2
     273        wget --passive -c $FTP/$DIR/$2
    274274        ;;
    275275      curl )
    276         `curl -# -C - $HTTP/$DIR/$2 -o $2`
     276        `curl -# -C - $FTP/$DIR/$2 -o $2`
    277277        ;;
    278278      * )
  • jhalfs-0.2-debian_31_as_host-1.patch

    rb792da1 rb701a0f  
    2424     case $DL in
    2525       wget )
    26          wget $HTTP/$DIR/$2
     26         wget $FTP/$DIR/$2
    2727@@ -274,7 +277,7 @@
    2828         echo "$DL not supported at this time."
     
    3333     case $DL in
    3434       wget )
    35          wget -c $HTTP/$DIR/$2
     35         wget -c $FTP/$DIR/$2
    3636@@ -287,8 +290,11 @@
    3737         ;;
  • jhalfs.conf

    rb792da1 rb701a0f  
    66
    77declare -r SVN="svn://svn.linuxfromscratch.org"
    8 declare -r HTTP=http://ftp.lfs-matrix.net/pub/lfs/conglomeration
     8declare -r FTP=ftp://ftp.linuxfromscratch.org/pub/lfs/conglomeration
    99declare -r LOG=000-jhalfs.log
    1010
Note: See TracChangeset for help on using the changeset viewer.