Changeset bc40917 for BLFS/libs


Ignore:
Timestamp:
08/21/2006 09:57:52 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
0208570
Parents:
cac94f6
Message:

Making use off installed version from packages database.
Not full tested yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    rcac94f6 rbc40917  
    137137                       $GHOSTSCRIPT
    138138                       $MAILSERVER
    139                        $TRACKING_DIR
    140139                file:  depure.txt
    141140                       $TARGET-index.xml.tmp
     
    155154  local saveIFS=$IFS
    156155  local DEP_LV=$DEP_LEVEL
    157   local line line2 DEP pkg_ver
    158   # Remove this when we can use configuration file
    159   local TRACKING_DIR=/var/lib/jhalfs/BLFS
     156  local line line2 DEP pkg_ver inst_ver
    160157
    161158  #------------------
     
    183180    # If DEP has been previouly installed, skip it
    184181    pkg_ver=$(grep "^${DEP}[[:space:]]" ../packages | cut -f3)
    185     [ -e $TRACKING_DIR/${DEP}-$pkg_ver ] && continue
     182    inst_ver=$(grep "^${DEP}[[:space:]]" ../packages | cut -f4)
     183    [ -n "${pkg_ver}" ] && [ "x${pkg_ver}" = "x${inst_ver}" ] && continue
     184
    186185    # Special packages (a lot of hacks)
    187186    case $DEP in
Note: See TracChangeset for help on using the changeset viewer.