summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-31 07:41:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-31 07:41:59 +0000
commit390a60dea5eddbcc76624436b311677dec704b3e (patch)
treec54f7fbefe7df10999dce29c05a5d51b7fdfc8c6 /perl-install
parent771fb6f8e579c420131ad3cd06a3123d7d2a0dbd (diff)
downloaddrakx-390a60dea5eddbcc76624436b311677dec704b3e.tar
drakx-390a60dea5eddbcc76624436b311677dec704b3e.tar.gz
drakx-390a60dea5eddbcc76624436b311677dec704b3e.tar.bz2
drakx-390a60dea5eddbcc76624436b311677dec704b3e.tar.xz
drakx-390a60dea5eddbcc76624436b311677dec704b3e.zip
kernel-desktop586 is only on i.86
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 2dae3478a..80aa95b92 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -138,7 +138,7 @@ sub bestKernelPackage {
my ($packages) = @_;
my @preferred_exts =
- $::o->{match_all_hardware} ? (arch() =~ /x86_64/ ? '-desktop' : '-desktop586') :
+ $::o->{match_all_hardware} ? (arch() =~ /i.86/ ? '-desktop586' : '-desktop') :
detect_devices::is_xbox() ? '-xbox' :
detect_devices::is_i586() ? '-desktop586' :
detect_devices::isLaptop() ? '-laptop' :