BLFS: Fake version for dbus-bindings and perl-modules.

This commit is contained in:
Manuel Canales Esparcia 2007-08-11 16:16:26 +00:00
parent 97b041f81d
commit 3938ff29ef

View file

@ -74,7 +74,10 @@ generate_packages() { # Master packages file
# Extract Id and path for sect1 files # Extract Id and path for sect1 files
for file in `find $BLFS_XML -name "*.xml"` ; do for file in `find $BLFS_XML -name "*.xml"` ; do
pkg_id=$(grep "sect1 id" $file | sed -e 's/<sect1 id="//;s/".*//') 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) installed_ver=$(get_installed_ver $pkg_id)
[[ ! -z "$pkg_id" ]] && echo -e "$pkg_id\t$file\t$pkg_ver\t$installed_ver" >> packages.tmp [[ ! -z "$pkg_id" ]] && echo -e "$pkg_id\t$file\t$pkg_ver\t$installed_ver" >> packages.tmp
done done