summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-04 08:15:12 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-04 08:15:12 +0000
commit73dc8e20ece54530280c3fe8d5ec7a720fbc71e9 (patch)
tree58596528490a6018afc2637af04092a65925cc1a
parent1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1 (diff)
downloaddrakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar
drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar.gz
drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar.bz2
drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar.xz
drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.zip
add tapes() for harddrake2
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index b9b967adb..e9d13ea63 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -35,6 +35,7 @@ sub get {
getIDE(), getSCSI(), getDAC960(), getCompaqSmartArray(), getATARAID();
}
sub hds { grep { $_->{media_type} eq 'hd' && ($::isStandalone || !isRemovableDrive($_)) } get() }
+sub tapes { grep { $_->{media_type} eq 'tape' && ($::isStandalone || !isRemovableDrive($_)) } get() }
sub cdroms { grep { $_->{media_type} eq 'cdrom' } get() }
sub burners { grep { isBurner($_) } cdroms() }
sub dvdroms { grep { isDvdDrive($_) } cdroms() }