Ignore:
Timestamp:
Jun 28, 2013 1:42:12 PM (10 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
2c1e079
Parents:
2c8cdfc
Message:

Switch us over to the new PC-BSD CDN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbi-manager

    r1421110 r9788f38  
    55025502        for _cMirror in $_mirrorList 
    55035503        do 
    5504                 if [ "$_cMirror" = "PCBSDCDN" ] ; then 
    5505                         get_file_from_mirrors "${_uFile}" "$_dl_loc" 
     5504                if [ "$_cMirror" = "PCBSDCDN" -o "$_cMirror" = "http://pbi.cdn.pcbsd.org" ] ; then 
     5505 
     5506                        # Strip the /PBI from the mirror URL 
     5507                        _uFile="`echo ${_uFile} | sed 's|^/PBI||g'`" 
     5508                         
     5509                        get_file_from_mirrors "${_uFile}" "$_dl_loc" "pbi" 
    55065510                        if [ "$?" != "0" ]  ; then  
    55075511                                rm "${_dl_loc}" >/dev/null 2>/dev/null 
     
    69496953          do 
    69506954            echo "Downloading /${SYSVER}/${ARCH}/dist/${i} ..." 
    6951             get_file_from_mirrors "/${SYSVER}/${ARCH}/dist/${i}" "${i}" 
     6955            get_file_from_mirrors "/${SYSVER}/${ARCH}/dist/${i}" "${i}" "iso" 
    69526956            [ $? -ne 0 ] && exit_err "Error while downloading the freebsd world." 
    69536957          done 
Note: See TracChangeset for help on using the changeset viewer.