summaryrefslogtreecommitdiffstats
path: root/docs/mdk-vs-redhat
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-01 19:00:26 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-01 19:00:26 +0000
commit2c4919ef0a9d14582a45bff234cea134a49ceaf9 (patch)
tree999e08aa8f08738d153bac812bd34fc1e8e59499 /docs/mdk-vs-redhat
parenta098f4cb4eb055ee7f948f5ae51c82e3403ffdac (diff)
downloaddrakx-backup-do-not-use-2c4919ef0a9d14582a45bff234cea134a49ceaf9.tar
drakx-backup-do-not-use-2c4919ef0a9d14582a45bff234cea134a49ceaf9.tar.gz
drakx-backup-do-not-use-2c4919ef0a9d14582a45bff234cea134a49ceaf9.tar.bz2
drakx-backup-do-not-use-2c4919ef0a9d14582a45bff234cea134a49ceaf9.tar.xz
drakx-backup-cleanup
Diffstat (limited to 'perl-install')
Diffstat (limited to 'docs/mdk-vs-redhat')
0 files changed, 0 insertions, 0 deletions
nstall/detect_devices.pm b/perl-install/detect_devices.pm
index 58731e0a3..77fa5c388 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -855,13 +855,13 @@ sub suggest_mount_point {
my ($e) = @_;
my $name = $e->{media_type};
- if (member($name, 'hd', 'fd')) {
+ if (member($e->{media_type}, 'hd', 'fd')) {
if (exists $e->{usb_driver}) {
return usb2removable($e) || 'removable';
}
if (isZipDrive($e)) {
$name = 'zip';
- } elsif ($name eq 'fd') {
+ } elsif ($e->{media_type} eq 'fd') {
$name = 'floppy';
} else {
log::l("suggest_mount_point: don't know what to with hd $e->{device}");