From b9f70ab579c4f5b31076576556859595564056b3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 27 Nov 2003 17:14:16 +0000 Subject: get_raw_hds adds removables to {raw_hds}, it doesn't overwrite it (so that non partitioned usb keys are not dropped) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs.pm') diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 6a6b403d0..8d3d37ad8 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -532,7 +532,7 @@ sub set_removable_mntpoints { sub get_raw_hds { my ($prefix, $all_hds) = @_; - $all_hds->{raw_hds} = [ detect_devices::removables() ]; + push @{$all_hds->{raw_hds}}, detect_devices::removables(); get_major_minor(@{$all_hds->{raw_hds}}); my @fstab = read_fstab($prefix, "/etc/fstab", 'keep_freq_passno'); -- cgit v1.2.1