summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-21 14:59:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-21 14:59:41 +0000
commit718d2012e4a6035b121f8a80b6a78f49f94c15bc (patch)
tree49e9bdffc08790dda6d6b61e53cdd5531e25328a /perl-install/modules.pm
parentac9ca1816fefb90d89a626016757dc6a22c4c002 (diff)
downloaddrakx-718d2012e4a6035b121f8a80b6a78f49f94c15bc.tar
drakx-718d2012e4a6035b121f8a80b6a78f49f94c15bc.tar.gz
drakx-718d2012e4a6035b121f8a80b6a78f49f94c15bc.tar.bz2
drakx-718d2012e4a6035b121f8a80b6a78f49f94c15bc.tar.xz
drakx-718d2012e4a6035b121f8a80b6a78f49f94c15bc.zip
(load_thiskind): fix pb causing imm,ppa,usb-storage to be tested for every
load_thiskind, not only scsi one
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 3dc88ed78..3d753830c 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -640,8 +640,10 @@ sub load_thiskind {
read_already_loaded();
my @try_modules = (
- 'imm', 'ppa',
- if_(detect_devices::usbZips(), 'usb-storage'),
+ if_($type =~ /scsi/,
+ 'imm', 'ppa',
+ if_(detect_devices::usbZips(), 'usb-storage'),
+ ),
if_(arch() =~ /ppc/,
'mesh', 'mac53c94',
if_($type =~ /net/, 'bmac', 'gmac', 'pmac'),