Ignore:
Timestamp:
05/01/2006 10:26:47 AM (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:
90ba00e
Parents:
799b0d1
Message:

Updates to the new download code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r799b0d1 r6ca2943  
    653653    IFS=$'\x0A'  # Modify the 'internal field separator' to break on 'LF' only
    654654    for line in `cat urls.lst`; do
    655 
    656655      IFS=$saveIFS  # Restore the system defaults
     656
     657      # Skip some packages if they aren't needed
     658      case $line in
     659        */tcl* | */expect* | */dejagnu* | */tree* | */gcc-testsuite* )
     660            [[ "$TEST" = "0" ]] && continue
     661          ;;
     662        */vim-*-lang* )
     663            [[ "$VIMLANG" = "0" ]] && continue
     664          ;;
     665      esac
     666
    657667      URL1=`echo $line | cut -d" " -f1` # Upstream URL
    658668      URL2=`echo $line | cut -d" " -f2` # Fallback URL
     
    685695
    686696      if ! echo "$MD5" | md5sum -c - ; then
    687         exit 1
     697        echo "${RED}$FILE not match MD5SUMS value${OFF}"
     698        echo "$FILE not match MD5SUMS value" >> MISSING_FILES.DMP
    688699      fi
    689700      echo `grep "$MD5" MD5SUMS` >> MD5SUMS-$VERSION
     
    701712    done
    702713
     714    if [[ -s MISSING_FILES.DMP ]]; then
     715      echo  -e "\n\n${tab_}${RED} One or more files were not retrieved or have a bad MD5SUMS chechsum.\n${tab_} Check ${L_arrow}$BUILDDIR/sources/MISSING_FILES.DMP${R_arrow} for names ${OFF}\n\n"
     716    fi
     717
    703718  fi
    704719}
Note: See TracChangeset for help on using the changeset viewer.