r3450 - jhalfs/trunk/BLFS/libs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Aug 11 09:16:26 PDT 2007


Author: manuel
Date: 2007-08-11 10:16:26 -0600 (Sat, 11 Aug 2007)
New Revision: 3450

Modified:
   jhalfs/trunk/BLFS/libs/func_packages
Log:
BLFS: Fake version for dbus-bindings and perl-modules.

Modified: jhalfs/trunk/BLFS/libs/func_packages
===================================================================
--- jhalfs/trunk/BLFS/libs/func_packages	2007-08-11 11:24:47 UTC (rev 3449)
+++ jhalfs/trunk/BLFS/libs/func_packages	2007-08-11 16:16:26 UTC (rev 3450)
@@ -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