From f07b679888dd00b1f0e541bb2ae233af481dea18 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Jan 2003 08:18:46 +0000 Subject: (getIDE) don't provide information when we don't have it (vendor, description) --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1