summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:26:25 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:26:25 +0000
commit2e60b8b55d7614686d6bda5f70bd26cba2a07de8 (patch)
tree0cdbed0a68de840c782bbc8491016731aab0ed0f /perl-install
parentf2c0aa8a1758c467a9209ad530be8ef2b6a988a9 (diff)
downloaddrakx-2e60b8b55d7614686d6bda5f70bd26cba2a07de8.tar
drakx-2e60b8b55d7614686d6bda5f70bd26cba2a07de8.tar.gz
drakx-2e60b8b55d7614686d6bda5f70bd26cba2a07de8.tar.bz2
drakx-2e60b8b55d7614686d6bda5f70bd26cba2a07de8.tar.xz
drakx-2e60b8b55d7614686d6bda5f70bd26cba2a07de8.zip
still show mass media fields for mass media that are not hard disks (eg:
cdroms, dvdrom, burners, ...)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/harddrake25
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 16ee620a0..17b5d702e 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -134,7 +134,10 @@ my %groups = (
},
);
-$groups{$_} = $groups{HARDDISK} foreach qw(BURNER CDROM DVDROM);
+foreach my $class (qw(BURNER CDROM DVDROM)) {
+ $groups{$class} = $groups{HARDDISK};
+ $fields{$class} = $fields{HARDDISK};
+}
my ($in, $pid, $w);