From 69f2b810a8c25ed123fc5867c5d1d1c7e89b3948 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 12 Aug 2007 19:16:47 +0000 Subject: [PATCH] BLFS: Typo fix. --- BLFS/gen_config.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BLFS/gen_config.sh b/BLFS/gen_config.sh index 02984be..f05d347 100755 --- a/BLFS/gen_config.sh +++ b/BLFS/gen_config.sh @@ -51,7 +51,7 @@ do continue fi # Do not include installed packages newer than the book ones - if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then + if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" < "x${INST_VER}" ]]; then continue fi # Set installed version for updated meta-packages @@ -83,9 +83,9 @@ EOF continue fi # Do not include installed packages newer than the book ones - if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then - continue - fi + if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" < "x${INST_VER}" ]]; then + continue + fi # Set installed version for updated meta-packages components [ -n "${INST_VER}" ] && INST_STRING="[installed ${INST_VER}]" ( @@ -126,7 +126,7 @@ EOF continue fi # Do not include installed packages newer than the book ones - if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" = "x${INST_VER}" ]]; then + if [ -n "${PKG_VER}" ] && [[ "x${PKG_VER}" < "x${INST_VER}" ]]; then continue fi # Set installed version for updated packages