Changeset d992b48 for BLFS


Ignore:
Timestamp:
08/12/2007 11:11:07 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3.x
Children:
97ad140
Parents:
75414f7
Message:

Merged r3452 from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen_config.sh

    r75414f7 rd992b48  
    4848    SET_COMMENT=y
    4949      # Do not include previously installed packages
    50     if [ -n "${PKG_VER}" ] && [ "x${PKG_VER}" = "x${INST_VER}" ]; then
     50    if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then
     51      continue
     52    fi
     53      # Do not include installed packages newer than the book ones
     54    if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then
    5155      continue
    5256    fi
     
    7680         INST_VER=$(grep "^${PKG_NAME}[[:space:]]" $inFile | cut -f4)
    7781           # Skip installed meta-package components
    78          if [ -n "${PKG_VER}" ] && [ "x${PKG_VER}" = "x${INST_VER}" ]; then
     82         if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then
    7983           continue
    8084         fi
     85          # Do not include installed packages newer than the book ones
     86        if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then
     87          continue
     88        fi
    8189           # Set installed version for updated meta-packages components
    8290         [ -n "${INST_VER}" ] && INST_STRING="[installed ${INST_VER}]"
     
    115123
    116124    # Skip installed packages
    117   if [ -n "${PKG_VER}" ] && [ "x${PKG_VER}" = "x${INST_VER}" ]; then
     125  if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then
     126    continue
     127  fi
     128    # Do not include installed packages newer than the book ones
     129  if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then
    118130    continue
    119131  fi
Note: See TracChangeset for help on using the changeset viewer.