Changeset 9c9775f for BLFS/gen_config.sh
- Timestamp:
- 09/19/2007 04:50:48 PM (17 years ago)
- Branches:
- experimental
- Children:
- 3778352
- Parents:
- 0510381
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/gen_config.sh
r0510381 r9c9775f 48 48 SET_COMMENT=y 49 49 # 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 51 55 continue 52 56 fi … … 76 80 INST_VER=$(grep "^${PKG_NAME}[[:space:]]" $inFile | cut -f4) 77 81 # 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 79 87 continue 80 88 fi … … 96 104 [[ "${SET_COMMENT}" = "y" ]] && echo "comment \"\"" >>$outFile; unset SET_COMMENT 97 105 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 99 108 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 ;; 103 122 esac 104 123 105 124 # 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 107 130 continue 108 131 fi … … 223 246 config WIN_xorg7 224 247 bool "Xorg7" 225 config WIN_xorg226 bool "Xorg"227 248 config WIN_xfree86 228 249 bool "xfree86" … … 231 252 string 232 253 default xorg7 if WIN_xorg7 233 default xorg if WIN_xorg234 254 default xfree86 if WIN_xfree86 235 255 endmenu
Note:
See TracChangeset
for help on using the changeset viewer.