diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-05-03 16:16:48 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-05-03 16:16:48 +0000 |
commit | e9dbe54ed4f656c59e7a0c0a914bc427e8d739e2 (patch) | |
tree | 73caec78b928343196a8310b960eb5a819c7f08a /perl-install/modules.pm | |
parent | b5b5d539112817788a0321f9ce444547a9c77f75 (diff) | |
download | drakx-backup-do-not-use-e9dbe54ed4f656c59e7a0c0a914bc427e8d739e2.tar drakx-backup-do-not-use-e9dbe54ed4f656c59e7a0c0a914bc427e8d739e2.tar.gz drakx-backup-do-not-use-e9dbe54ed4f656c59e7a0c0a914bc427e8d739e2.tar.bz2 drakx-backup-do-not-use-e9dbe54ed4f656c59e7a0c0a914bc427e8d739e2.tar.xz drakx-backup-do-not-use-e9dbe54ed4f656c59e7a0c0a914bc427e8d739e2.zip |
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 3cd097bc4..bd3cb81ef8 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -541,18 +541,18 @@ sub load_thiskind($;&$) { #- probe for USB SCSI. if (my ($c) = grep { /usb-/ } map { $_->[1] } pci_probing::main::probe('')) { eval { load($c, "SERIAL_USB"); load("usb-storage", $type); sleep(1); }; - -d "/proc/scsi/usb" ? push(@devs, [ "usb-storage", "usb-storage" ]) : unload("usb-storage"); + -d "/proc/scsi/usb" or unload("usb-storage"); } #- probe for parport SCSI. foreach ("imm", "ppa") { - eval { load($_, $type); push @devs, [ $_, $_ ] }; + eval { load($_, $type) }; last if !$@; } if (my ($c) = pci_probing::main::probe('AUDIO')) { add_alias("sound", $c->[1]) if pci_probing::main::check($c->[1]); } } - @devs, map { [ $_, $_ ] } @{$loaded{$type} || []}; + @{$loaded{$type} || []}; } sub pcmcia_need_config($) { |