Changeset aa5ee83


Ignore:
Timestamp:
07/17/13 09:52:40 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
33b3d52
Parents:
b674606
Message:

Remove old download file fragments before starting a new download

File:
1 edited

Legend:

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

    rb674606 raa5ee83  
    55185518                        # Strip the /PBI from the mirror URL 
    55195519                        _uFile="`echo ${_uFile} | sed 's|^/PBI||g'`" 
    5520                          
     5520                        if [ -e "$_dl_loc" ] ; then rm "$_dl_loc" ; fi   
     5521 
    55215522                        get_file_from_mirrors "${_uFile}" "$_dl_loc" "pbi" 
    55225523                        if [ "$?" != "0" ]  ; then  
     
    55275528                else 
    55285529                        _furl="`echo $_cMirror | sed 's/\/*$//'`${_uFile}" 
     5530                        if [ -e "$_dl_loc" ] ; then rm "${_dl_loc}" ; fi         
    55295531 
    55305532                        echo "Downloading ${_furl}" 
Note: See TracChangeset for help on using the changeset viewer.