diff options
author | Francois Pons <fpons@mandriva.com> | 2003-09-02 12:38:20 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-09-02 12:38:20 +0000 |
commit | 9b1bd20ab5c18ff1a0cf1d1a7604a46453beec1b (patch) | |
tree | 04c83f24499cf82713df77073384ffe766db7b85 | |
parent | 5487bcf0aaddc34d08d904994b1526968c95d091 (diff) | |
download | drakx-9b1bd20ab5c18ff1a0cf1d1a7604a46453beec1b.tar drakx-9b1bd20ab5c18ff1a0cf1d1a7604a46453beec1b.tar.gz drakx-9b1bd20ab5c18ff1a0cf1d1a7604a46453beec1b.tar.bz2 drakx-9b1bd20ab5c18ff1a0cf1d1a7604a46453beec1b.tar.xz drakx-9b1bd20ab5c18ff1a0cf1d1a7604a46453beec1b.zip |
fixed XFree86-75dpi-fonts not available (seems like a problem with length of
rpmsrate computation, strange as it fails now and not before).
-rw-r--r-- | perl-install/pkgs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 81eefbbf1..d58ce2481 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -219,12 +219,12 @@ sub packageRequest { sub packageCallbackChoices { my ($urpm, $_db, $state, $choices) = @_; - if (my $prefer = find { exists $preferred{$_->name} } @$choices) { + if (my $prefer = find { $_->arch ne 'src' && exists $preferred{$_->name} } @$choices) { $prefer; } else { my @l = grep { #- or if a kernel has to be chosen, chose the basic one. - $_->name =~ /kernel-\d/ and return $_; + $_->arch ne 'src' && $_->name =~ /kernel-\d/ and return $_; #- or even if a package requires a specific locales which #- is already selected. |