summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-11-30 15:29:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-11-30 15:29:59 +0000
commitdbb1d11835aac437c0d9c3d0121e6637880f1131 (patch)
treeb074243a2f2e6bed38152c9eb7e544d1903778a0 /perl-install
parent8095c118bc2c7c3d0a37cd1070f7eac154a2f532 (diff)
downloaddrakx-backup-do-not-use-dbb1d11835aac437c0d9c3d0121e6637880f1131.tar
drakx-backup-do-not-use-dbb1d11835aac437c0d9c3d0121e6637880f1131.tar.gz
drakx-backup-do-not-use-dbb1d11835aac437c0d9c3d0121e6637880f1131.tar.bz2
drakx-backup-do-not-use-dbb1d11835aac437c0d9c3d0121e6637880f1131.tar.xz
drakx-backup-do-not-use-dbb1d11835aac437c0d9c3d0121e6637880f1131.zip
(dmidecode) explain why we return a list and not directly an hash
Diffstat (limited to 'perl-install')
-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 85e4195b0..44f065ede 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -781,6 +781,7 @@ sub hasPCMCIA() { $::o->{pcmcia} } #- because /proc/pcmcia seems not to be prese
my @dmis;
+# we return a list b/c several DMIs have the same name:
sub dmidecode() {
return @dmis if @dmis;