Changeset 0910f55


Ignore:
Timestamp:
05/09/2006 08:20:25 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
1b65a84
Parents:
e071571
Message:

Fixed a bug when the file in the FTP mirror don't match the MD5SUM defined in the book.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    re071571 r0910f55  
    730730        rm -fv $FILE
    731731          # Force generation of MD5SUM and storage in SRC_ARCHIVE
    732         fromARCHIVE=0; HAVEMD5=0
    733           # Try and retrieve the file
    734         if ! wget -N $URL1 && ! wget -N $URL2 ; then
     732        fromARCHIVE=0;
     733          # Try and retrieve the file. Servers in reverse order.
     734        if ! wget $URL2 && ! wget $URL1 ; then
    735735          gs_wrt_message "$FILE not found on the servers.. SKIPPING"
    736736          continue
     
    742742    if [[ "$HAVEMD5" = "1" ]] && ! echo "$MD5" | md5sum -c - >/dev/null ; then
    743743      gs_wrt_message "$FILE does not match MD5SUMS value"
     744      # Force generation of MD5SUM
     745      HAVEMD5=0
    744746    fi
    745747
Note: See TracChangeset for help on using the changeset viewer.