summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-23 13:44:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-23 13:44:22 +0000
commit0150b4e7b333d1bc2c8c754386340647efc116e9 (patch)
tree060d0e285708e51c188ff682a337c092860fbdf2 /perl-install/detect_devices.pm
parent7f82db2e64c906d1947d27d761b22141b596c609 (diff)
downloaddrakx-0150b4e7b333d1bc2c8c754386340647efc116e9.tar
drakx-0150b4e7b333d1bc2c8c754386340647efc116e9.tar.gz
drakx-0150b4e7b333d1bc2c8c754386340647efc116e9.tar.bz2
drakx-0150b4e7b333d1bc2c8c754386340647efc116e9.tar.xz
drakx-0150b4e7b333d1bc2c8c754386340647efc116e9.zip
remove '-' before description for IBM eide hard disks
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index f53f4d750..7740f9852 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -245,7 +245,7 @@ sub getIDE() {
my $num = ord (($d =~ /(.)$/)[0]) - ord 'a';
my ($vendor, $model) = map {
- if_($info =~ /^$_\b\s*(.*)/, $eide_hds{$_}, $1);
+ if_($info =~ /^$_\b(-|\s*)(.*)/, $eide_hds{$_}, $2);
} keys %eide_hds;
my ($channel, $id) = ($num / 2, $num % 2);