Changeset 7f1df64


Ignore:
Timestamp:
07/17/13 12:06:01 (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
76e144e
Parents:
90e3614
Message:

Update aria2c flags, don't need to do 5MB splits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/libsh/functions.sh

    r9788f38 r7f1df64  
    205205   # Running from a non GUI? 
    206206   if [ "$GUI_FETCH_PARSING" != "YES" -a "$PBI_FETCH_PARSING" != "YES" -a -z "$PCFETCHGUI" ] ; then 
    207       aria2c -k 5M ${aStat} --check-certificate=false --file-allocation=none -d "${aDir}" -o "${aFile}" ${mirrorList} 
     207      aria2c ${aStat} --check-certificate=false --file-allocation=none -d "${aDir}" -o "${aFile}" ${mirrorList} 
    208208      return $? 
    209209   fi 
     
    220220   if [ -z "$_fSize" ] ; then _fSize=0; fi 
    221221 
    222    ( aria2c -o ${aFile} -d ${aDir} -k 5M ${aStat} --check-certificate=false --file-allocation=none ${mirrorList} >/dev/null 2>/dev/null ; echo "$?" > ${_eFile} ) & 
     222   ( aria2c -o ${aFile} -d ${aDir} ${aStat} --check-certificate=false --file-allocation=none ${mirrorList} >/dev/null 2>/dev/null ; echo "$?" > ${_eFile} ) & 
    223223   FETCH_PID=$! 
    224224   while :  
    225225   do 
    226226      if [ -e "${_lf}" ] ; then 
     227         sync 
    227228         _dSize=`du -k ${_lf} | tr -d '\t' | cut -d '/' -f 1` 
    228229         if [ $(is_num "$_dSize") ] ; then 
Note: See TracChangeset for help on using the changeset viewer.