summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-29 08:18:46 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-29 08:18:46 +0000
commitf07b679888dd00b1f0e541bb2ae233af481dea18 (patch)
tree2ba9b2d6608461f8f3937f2ac7565ac373fc4419 /perl-install
parenta31f1dd9b6ca5ba607d30493ef8bc74c1027bd0e (diff)
downloaddrakx-f07b679888dd00b1f0e541bb2ae233af481dea18.tar
drakx-f07b679888dd00b1f0e541bb2ae233af481dea18.tar.gz
drakx-f07b679888dd00b1f0e541bb2ae233af481dea18.tar.bz2
drakx-f07b679888dd00b1f0e541bb2ae233af481dea18.tar.xz
drakx-f07b679888dd00b1f0e541bb2ae233af481dea18.zip
(getIDE) don't provide information when we don't have it (vendor, description)
Diffstat (limited to 'perl-install')
-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 8f982c94c..4d861bfac 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -295,7 +295,7 @@ sub getIDE() {
push @idi, { media_type => $type, device => basename($d),
devfs_prefix => $devfs_prefix,
info => $info, channel => $channel, id => $id, bus => 'ide',
- Vendor => $vendor, Model => $model };
+ if_($vendor, Vendor => $vendor), if_($model, Model => $model) };
}
get_devfs_devices(@idi);
get_sys_cdrom_info(@idi);