From 28c5fbc0567b633bdc24dcad32fabfe414791f0f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 13 Mar 2001 12:58:29 +0000 Subject: (burners): don't use cdroms() which return scdX for ide burners, and isBurner don't use the same technique. so use get() and grep for type "cdrom" --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index e0e95f465..81c488a9c 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -51,7 +51,7 @@ sub cdroms() { } @l; } -sub burners { grep { isBurner($_->{device}) } cdroms() } +sub burners { grep { $_->{type} eq 'cdrom' && isBurner($_->{device}) } get() } sub IDEburners { grep { $_->{type} eq 'cdrom' && isBurner($_->{device}) } getIDE() } sub get_mac_model() { -- cgit v1.2.1