From 03ff5f3c5f6b7911b1cd4a10ce6f956124e997d5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 22 Jul 2004 02:39:06 +0000 Subject: set {is_removable} directly in fsedit::hds() --- perl-install/fsedit.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 69a6bcb88..ce5c0cdee 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -239,6 +239,10 @@ sub hds { $_->{device_LABEL} = $label if $label; } + if ($hd->{usb_media_type}) { + $_->{is_removable} = 1 foreach partition_table::get_normal_parts($hd); + } + push @hds, $hd; } -- cgit v1.2.1