summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-19 09:46:13 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-19 09:46:13 +0000
commit8a3601d1eb4d6a747dce5cee462c2f1353f4e439 (patch)
tree75ff47f7eac774f1952fc977b9fa61a35e7cf21e /perl-install/install/pkgs.pm
parent977b3927fd70306763207cf442c5de804ac2161a (diff)
downloaddrakx-8a3601d1eb4d6a747dce5cee462c2f1353f4e439.tar
drakx-8a3601d1eb4d6a747dce5cee462c2f1353f4e439.tar.gz
drakx-8a3601d1eb4d6a747dce5cee462c2f1353f4e439.tar.bz2
drakx-8a3601d1eb4d6a747dce5cee462c2f1353f4e439.tar.xz
drakx-8a3601d1eb4d6a747dce5cee462c2f1353f4e439.zip
do not use $::o in install::pkgs (to be consistent with next commit and to please pixel)
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index f84a2a2b4..c67843912 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -129,10 +129,10 @@ sub packageByName {
}
sub bestKernelPackage {
- my ($packages) = @_;
+ my ($packages, $o_match_all_hardware) = @_;
my @preferred_exts =
- $::o->{match_all_hardware} ? (arch() =~ /i.86/ ? '-desktop586' : '-desktop') :
+ $o_match_all_hardware ? (arch() =~ /i.86/ ? '-desktop586' : '-desktop') :
detect_devices::is_xbox() ? '-xbox' :
detect_devices::is_i586() ? '-desktop586' :
detect_devices::isLaptop() ? '-laptop' :