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

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Aug 11 09:17:39 PDT 2007


Author: manuel
Date: 2007-08-11 10:17:39 -0600 (Sat, 11 Aug 2007)
New Revision: 3451

Modified:
   jhalfs/branches/2.3.x/BLFS/libs/func_packages
Log:
Ported r3450 from trunk.

Modified: jhalfs/branches/2.3.x/BLFS/libs/func_packages
===================================================================
--- jhalfs/branches/2.3.x/BLFS/libs/func_packages	2007-08-11 16:16:26 UTC (rev 3450)
+++ jhalfs/branches/2.3.x/BLFS/libs/func_packages	2007-08-11 16:17:39 UTC (rev 3451)
@@ -74,7 +74,10 @@
   # Extract Id and path for sect1 files
   for file in `find $BLFS_XML -name "*.xml"` ; do
     pkg_id=$(grep "sect1 id" $file | sed -e 's/<sect1 id="//;s/".*//')
-    pkg_ver=$(get_pkg_ver $pkg_id)
+    case ${pkg_id} in
+      dbus-bindings | perl-modules ) pkg_ver=0.no_version ;;
+      * )                            pkg_ver=$(get_pkg_ver $pkg_id) ;;
+    esac
     installed_ver=$(get_installed_ver $pkg_id)
     [[ ! -z "$pkg_id" ]] && echo -e "$pkg_id\t$file\t$pkg_ver\t$installed_ver" >> packages.tmp
   done




More information about the alfs-log mailing list