From 718d2012e4a6035b121f8a80b6a78f49f94c15bc Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 21 Mar 2001 14:59:41 +0000 Subject: (load_thiskind): fix pb causing imm,ppa,usb-storage to be tested for every load_thiskind, not only scsi one --- perl-install/modules.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install/modules.pm') 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'), -- cgit v1.2.1