summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-28 19:56:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-28 19:56:40 +0000
commitf4b8f02b27627d1c003d321e7caaa22d85482877 (patch)
tree2ff46dfbdac56c440ecd1f1c521e902464d0418f /perl-install/fs.pm
parent54410dc53bd985c6a7a0eb4942004880eaed7c9d (diff)
downloaddrakx-backup-do-not-use-f4b8f02b27627d1c003d321e7caaa22d85482877.tar
drakx-backup-do-not-use-f4b8f02b27627d1c003d321e7caaa22d85482877.tar.gz
drakx-backup-do-not-use-f4b8f02b27627d1c003d321e7caaa22d85482877.tar.bz2
drakx-backup-do-not-use-f4b8f02b27627d1c003d321e7caaa22d85482877.tar.xz
drakx-backup-do-not-use-f4b8f02b27627d1c003d321e7caaa22d85482877.zip
(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)
Diffstat (limited to 'perl-install/fs.pm')
-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 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,