Fixed meta-packages installed version data extraction.

This commit is contained in:
Manuel Canales Esparcia 2006-08-23 17:24:55 +00:00
parent ba7219760e
commit 8806d6088a

View file

@ -81,19 +81,21 @@ generate_packages() { # Master packages file
# Meta-packages installed version # Meta-packages installed version
ALSA_INST_VER=$(get_installed_ver alsa) ALSA_INST_VER=$(get_installed_ver alsa)
GNOME_INST_VER=$(get_installed_ver gnome) GNOME_CORE_INST_VER=$(get_installed_ver gnome-core)
KDE_INST_VER=$(get_installed_ver kde) GNOME_FULL_INST_VER=$(get_installed_ver gnome-full)
KDE_KOFFICE_INST_VER=$(get_installed_ver koffice) KDE_CORE_INST_VER=$(get_installed_ver kde-core)
KDE_FULL_INST_VER=$(get_installed_ver kde-full)
KDE_KOFFICE_INST_VER=$(get_installed_ver kde-koffice)
XORG7_INST_VER=$(get_installed_ver xorg7) XORG7_INST_VER=$(get_installed_ver xorg7)
# Add header with meta-packages pseudo Id # Add header with meta-packages pseudo Id
{ {
cat << EOF cat << EOF
alsa $BLFS_XML $ALSA_VER $ALSA_INST_VER alsa $BLFS_XML $ALSA_VER $ALSA_INST_VER
gnome-core $BLFS_XML $GNOME_VER$GNOME_MINOR_VER $GNOME_INST_VER gnome-core $BLFS_XML $GNOME_VER$GNOME_MINOR_VER $GNOME_CORE_INST_VER
gnome-full $BLFS_XML $GNOME_VER$GNOME_MINOR_VER $GNOME_INST_VER gnome-full $BLFS_XML $GNOME_VER$GNOME_MINOR_VER $GNOME_FULL_INST_VER
kde-core $BLFS_XML $KDE_VER $KDE_INST_VER kde-core $BLFS_XML $KDE_VER $KDE_CORE_INST_VER
kde-full $BLFS_XML $KDE_VER $KDE_INST_VER kde-full $BLFS_XML $KDE_VER $KDE_FULL_INST_VER
kde-koffice $BLFS_XML $KDE_KOFFICE_VER $KDE_KOFFICE_INST kde-koffice $BLFS_XML $KDE_KOFFICE_VER $KDE_KOFFICE_INST
xorg7 $BLFS_XML $XORG7_VER $XORG7_INST_VER xorg7 $BLFS_XML $XORG7_VER $XORG7_INST_VER
EOF EOF