From 57c79a206dace7a3225467b26e193047ca5632d7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Apr 2009 12:29:55 +0000 Subject: (read_rpmsrate) use the installer's logic regarding flags in standalone mode, thus fixing wrongly selecting some 32bits packages on x86_64 (#50148) (regression introduced in r256659 on 2009-04-17; "(detect_hardware_packages,simple_read_rpmsrate) do not offer to install KDE packages on GNOME or LXDE (#49671)") --- perl-install/NEWS | 2 ++ perl-install/pkgs.pm | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index b78bd75a9..af50db747 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,6 +1,8 @@ - diskdrake: o display a progress bar while formating an ext4 partition o render ext4 partition as red like ext3 ones +- harddrake: + o fix wrongly selecting some 32bits packages on x86_64 (#50148) Version 12.29 - 21 April 2009 diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 526a91b41..057fcec78 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -136,9 +136,10 @@ sub read_rpmsrate { $ok ? 'TRUE' : @$user_flags ? join('||', @$user_flags) : 'FALSE'; } @flags; + @flags = member('FALSE', @flags) ? 'FALSE' : @flags; if ($::isInstall) { $p->set_rate($rates->{$_}); - $p->set_rflags(member('FALSE', @flags) ? 'FALSE' : @flags); + $p->set_rflags(@flags); } else { $flags->{$_} = \@flags; } -- cgit v1.2.1