r3455 - jhalfs/branches/2.3.x/BLFS/libs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Aug 12 07:35:31 PDT 2007


Author: manuel
Date: 2007-08-12 08:35:31 -0600 (Sun, 12 Aug 2007)
New Revision: 3455

Modified:
   jhalfs/branches/2.3.x/BLFS/libs/func_dependencies
Log:
Merged r3454 from trunk.

Modified: jhalfs/branches/2.3.x/BLFS/libs/func_dependencies
===================================================================
--- jhalfs/branches/2.3.x/BLFS/libs/func_dependencies	2007-08-12 14:34:33 UTC (rev 3454)
+++ jhalfs/branches/2.3.x/BLFS/libs/func_dependencies	2007-08-12 14:35:31 UTC (rev 3455)
@@ -203,7 +203,8 @@
               * )
                   pkg_ver=$(grep "^${X11}[[:space:]]" ../packages | cut -f3)
                   inst_ver=$(grep "^${X11}[[:space:]]" ../packages | cut -f4)
-                  [ -n "${pkg_ver}" ] && [ "x${pkg_ver}" = "x${inst_ver}" ] && continue
+                  [ -n "${pkg_ver}" ] && [[ "x${pkg_ver}" = "x${inst_ver}" ]] && continue
+                  [ -n "${pkg_ver}" ] && [[ "x${pkg_ver}" < "x${inst_ver}" ]] && continue
                   ;;
         esac
         ;;
@@ -212,7 +213,8 @@
     # If DEP has been previouly installed, skip it
     pkg_ver=$(grep "^${DEP}[[:space:]]" ../packages | cut -f3)
     inst_ver=$(grep "^${DEP}[[:space:]]" ../packages | cut -f4)
-    [ -n "${pkg_ver}" ] && [ "x${pkg_ver}" = "x${inst_ver}" ] && continue
+    [ -n "${pkg_ver}" ] && [[ "x${pkg_ver}" = "x${inst_ver}" ]] && continue
+    [ -n "${pkg_ver}" ] && [[ "x${pkg_ver}" < "x${inst_ver}" ]] && continue
 
     #------------------
     # Prevent circular dependencies




More information about the alfs-log mailing list