diff --git a/BLFS/update-lfs.sh b/BLFS/update-lfs.sh index 127d502..06e29a3 100755 --- a/BLFS/update-lfs.sh +++ b/BLFS/update-lfs.sh @@ -98,11 +98,12 @@ if [ x$ANSWER = "xyes" ] ; then for pack in $(grep '\([^<]*\)<.*/\1/' | sort | uniq); do - if [ "$pack" = "libstdc++" -o \ - "$pack" = "tcl" -o \ - "$pack" = "tcl-core" -o \ - "$pack" = "expect" -o \ - "$pack" = "dejagnu" ]; then continue; fi + case "x$pack" in + xtcl | xexpect | xdejagnu | xgcc* | *pass[12] | xvim | + xshadow | xPython | xlinux-headers | xdbus | xsystemd ) + continue ;; + esac + VERSION=$(grep -A1 ">$pack\([^<]*\)<.*/\1/p') diff --git a/common/libs/func_install_blfs b/common/libs/func_install_blfs index c4e6686..77316c9 100644 --- a/common/libs/func_install_blfs +++ b/common/libs/func_install_blfs @@ -205,10 +205,11 @@ update: @for pack in \$\$(grep '\([^<]*\)<.*/\1/' | \\ sort | uniq); do \\ - if [ "x\$\$pack" = xtcl -o \\ - "x\$\$pack" = xexpect -o \\ - "x\$\$pack" = xdejagnu ]; then continue; \\ - fi; \\ + case "x\$\$pack" in \\ + xtcl | xexpect | xdejagnu | xgcc* | *pass[12] | xvim | \\ + xshadow | xPython | xlinux-headers | xdbus | xsystemd )\\ + continue ;; \\ + esac; \\ VERSION=\$\$(grep -A1 ">\$\$pack