diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-02-28 17:46:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-02-28 17:46:52 +0000 |
commit | dbb92fc24abd933eff171909db38d78e1d2f40c6 (patch) | |
tree | eb4cfbfc11bec85bde725ad8d334b81f882bc403 /perl-install/detect_devices.pm | |
parent | cca75ba38464d15e685b0c2b6e2fb5e9947f61a2 (diff) | |
download | drakx-backup-do-not-use-dbb92fc24abd933eff171909db38d78e1d2f40c6.tar drakx-backup-do-not-use-dbb92fc24abd933eff171909db38d78e1d2f40c6.tar.gz drakx-backup-do-not-use-dbb92fc24abd933eff171909db38d78e1d2f40c6.tar.bz2 drakx-backup-do-not-use-dbb92fc24abd933eff171909db38d78e1d2f40c6.tar.xz drakx-backup-do-not-use-dbb92fc24abd933eff171909db38d78e1d2f40c6.zip |
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 29269cbbd..1384ed74d 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -39,8 +39,9 @@ sub zips() { grep { $_->{type} eq 'hd' && isZipDrive($_) } get(); } sub cdroms() { my @l = grep { $_->{type} eq 'cdrom' } get(); my $nb = $modules::scsi; #- this is gross! - foreach (getIDEBurners()) { - my ($e) = grep { $_->{device} eq $_ } @l or next; + foreach my $b (getIDEBurners()) { + log::l("getIDEBurners: $b"); + my ($e) = grep { $_->{device} eq $b } @l or next; $e->{device} = "scd" . $nb++; } @l; |