summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-27 17:14:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-27 17:14:16 +0000
commitb9f70ab579c4f5b31076576556859595564056b3 (patch)
tree0123f5dbb7843efe6f386380d92186318f0f9cf1 /perl-install
parent318e1cd9bb39e391d24cef8516a061a6b5f8d5b0 (diff)
downloaddrakx-backup-do-not-use-b9f70ab579c4f5b31076576556859595564056b3.tar
drakx-backup-do-not-use-b9f70ab579c4f5b31076576556859595564056b3.tar.gz
drakx-backup-do-not-use-b9f70ab579c4f5b31076576556859595564056b3.tar.bz2
drakx-backup-do-not-use-b9f70ab579c4f5b31076576556859595564056b3.tar.xz
drakx-backup-do-not-use-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.pm2
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');