Changeset 67122be


Ignore:
Timestamp:
12/10/13 14:06:41 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
4f9718b
Parents:
1d8f158
Message:

Correctly add PBI files to the hash directories on 10

File:
1 edited

Legend:

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

    rcd20ca3 r67122be  
    33433343        if [ "${PBI_NOHASHDIR}" = "YES" ] ; then return 0 ; fi 
    33443344        if [ ! -e "${1}/${PBI_HASHLIST}" ] ; then return 0; fi 
     3345        local hDir="${1}/local" 
    33453346 
    33463347        if [ "$PBI_VERBOSE" = "YES" ] ; then 
     
    33633364 
    33643365                # Make sure the target file hasnt been removed 
    3365                 if [ ! -e "${1}/${file}" ] ; then continue ; fi 
     3366                if [ ! -e "${hDir}/${file}" ] ; then continue ; fi 
    33663367 
    33673368                # We dont need no stinking sym-links 
    3368                 if [ -h "${1}/${file}" ] ; then continue ; fi 
     3369                if [ -h "${hDir}/${file}" ] ; then continue ; fi 
    33693370 
    33703371                if [ -f "${PBI_HASHDIR}/${hl}" ] ; then 
    3371                         use_hashfile "$hl" "${1}/$file" 
     3372                        use_hashfile "$hl" "${hDir}/$file" 
    33723373                else 
    3373                         mv_ln_hashfile "$hl" "${1}/$file" 
     3374                        mv_ln_hashfile "$hl" "${hDir}/$file" 
    33743375                fi 
    33753376        done < "${1}/${PBI_HASHLIST}" 
Note: See TracChangeset for help on using the changeset viewer.