diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-26 16:36:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-26 16:36:46 +0000 |
commit | 78f6b063b907062067f1c2e76fc21f1a4e32160f (patch) | |
tree | c0611de57abeb780a5e2c766cce30b2bf34026c7 | |
parent | ea26aa8c8d5eee6bdb4b5b7022257d5aae47388a (diff) | |
download | drakx-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.pm | 4 |
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() } |