Changeset b701a0f for HLFS/jhahlfs


Ignore:
Timestamp:
03/03/2006 08:58:07 PM (18 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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.