From f4b8f02b27627d1c003d321e7caaa22d85482877 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 28 Aug 2002 19:56:40 +0000 Subject: (set_default_options): use $is_removable to know if it is removable instead of testing the presence of $part->{rootDevice} (this must be old code predating the avaibility of $is_removable) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/fs.pm b/perl-install/fs.pm index f50418ede..753ef8b0a 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -453,7 +453,7 @@ sub set_default_options { put_in_hash($options, { user => 1, noexec => 0, - }) if !exists $part->{rootDevice}; # partition means no removable media + }) if $is_removable; put_in_hash($options, { 'umask=0' => $security < 3, 'iocharset=' => $iocharset, 'codepage=' => $codepage, -- cgit v1.2.1