Changeset 9c9775f for BLFS/gen_config.sh


Ignore:
Timestamp:
09/19/2007 04:50:48 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
3778352
Parents:
0510381
Message:

Updated experimental branch to current trunk code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen_config.sh

    r0510381 r9c9775f  
    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
     83           continue
     84         fi
     85          # Do not include installed packages newer than the book ones
     86         if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" < "x${INST_VER}" ]]; then
    7987           continue
    8088         fi
     
    96104  [[ "${SET_COMMENT}" = "y" ]] && echo "comment \"\"" >>$outFile; unset SET_COMMENT
    97105
    98     # Deal with a few unusable (at target level) package names
     106    # Deal with targets that are part of a meta-package but that are in the same
     107    # directory that non meta-package targets
    99108  case ${PKG_NAME} in
    100      xorg7-* ) continue ;;
    101      alsa-* ) continue ;;
    102      x-config | x-setup ) continue ;;
     109     alsa-* | \
     110     xorg7-* | \
     111     x-config | \
     112     x-setup | \
     113     libXau | \
     114     libxcb | \
     115     libXdmcp | \
     116     luit | \
     117     xbitmaps | \
     118     xcb-proto | \
     119     xkeyboard-config | \
     120     mesalib | \
     121     libdrm ) continue ;;
    103122  esac
    104123
    105124    # Skip installed packages
    106   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
    107130    continue
    108131  fi
     
    223246        config  WIN_xorg7
    224247        bool    "Xorg7"
    225         config  WIN_xorg
    226         bool    "Xorg"
    227248        config  WIN_xfree86
    228249        bool    "xfree86"
     
    231252        string
    232253        default xorg7   if WIN_xorg7
    233         default xorg    if WIN_xorg
    234254        default xfree86 if WIN_xfree86
    235255endmenu
Note: See TracChangeset for help on using the changeset viewer.