BLFS: Fake version for dbus-bindings and perl-modules.
This commit is contained in:
parent
97b041f81d
commit
3938ff29ef
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue