diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-21 14:59:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-21 14:59:41 +0000 |
commit | 718d2012e4a6035b121f8a80b6a78f49f94c15bc (patch) | |
tree | 49e9bdffc08790dda6d6b61e53cdd5531e25328a /perl-install/modules.pm | |
parent | ac9ca1816fefb90d89a626016757dc6a22c4c002 (diff) | |
download | drakx-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.pm | 6 |
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'), |