diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-27 17:14:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-27 17:14:16 +0000 |
commit | b9f70ab579c4f5b31076576556859595564056b3 (patch) | |
tree | 0123f5dbb7843efe6f386380d92186318f0f9cf1 /perl-install | |
parent | 318e1cd9bb39e391d24cef8516a061a6b5f8d5b0 (diff) | |
download | drakx-b9f70ab579c4f5b31076576556859595564056b3.tar drakx-b9f70ab579c4f5b31076576556859595564056b3.tar.gz drakx-b9f70ab579c4f5b31076576556859595564056b3.tar.bz2 drakx-b9f70ab579c4f5b31076576556859595564056b3.tar.xz drakx-b9f70ab579c4f5b31076576556859595564056b3.zip |
get_raw_hds adds removables to {raw_hds}, it doesn't overwrite it
(so that non partitioned usb keys are not dropped)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |