summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-26 16:36:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-26 16:36:46 +0000
commit78f6b063b907062067f1c2e76fc21f1a4e32160f (patch)
treec0611de57abeb780a5e2c766cce30b2bf34026c7
parentea26aa8c8d5eee6bdb4b5b7022257d5aae47388a (diff)
downloaddrakx-78f6b063b907062067f1c2e76fc21f1a4e32160f.tar
drakx-78f6b063b907062067f1c2e76fc21f1a4e32160f.tar.gz
drakx-78f6b063b907062067f1c2e76fc21f1a4e32160f.tar.bz2
drakx-78f6b063b907062067f1c2e76fc21f1a4e32160f.tar.xz
drakx-78f6b063b907062067f1c2e76fc21f1a4e32160f.zip
cleanup
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 2470d7aae..3dc9bdd39 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -36,8 +36,8 @@ sub get {
}
sub hds { grep { $_->{media_type} eq 'hd' && ($::isStandalone || !isRemovableDrive($_)) } get() }
sub cdroms { grep { $_->{media_type} eq 'cdrom' } get() }
-sub burners { grep { $_->{media_type} eq 'cdrom' && isBurner($_) } get() }
-sub dvdroms { grep { $_->{media_type} eq 'cdrom' && isDvdDrive($_) } get() }
+sub burners { grep { isBurner($_) } cdroms() }
+sub dvdroms { grep { isDvdDrive($_) } cdroms() }
sub zips { grep { member($_->{media_type}, 'fd', 'hd') && isZipDrive($_) } get() }
#-sub jazzs { grep { member($_->{media_type}, 'fd', 'hd') && isJazDrive($_) } get() }
sub ls120s { grep { member($_->{media_type}, 'fd', 'hd') && isLS120Drive($_) } get() }