From 1cdb08a708304ee9511f12ccbd403f6147cb9a7f Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 5 Sep 2001 10:03:01 +0000 Subject: avoid asking when using existing partition for magic partition with a real mntpoint (typically /tmp/hdimage) if we are not using a ramdisk (so partition is not unmountable). --- perl-install/install_steps_interactive.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 3bf701909..c16e04d49 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -290,8 +290,10 @@ sub ask_mntpoint_s { $o->ask_from('', _("Choose the mount points"), [ map { { label => partition_table::description($_), - val => \$_->{mntpoint}, not_edit => 0, list => [ '', fsedit::suggestions_mntpoint(fsedit::empty_all_hds()) ] } - } @fstab ]) or return; + val => \$_->{mntpoint}, + not_edit => 0, + list => [ '', fsedit::suggestions_mntpoint(fsedit::empty_all_hds()) ] } + } grep { !$_->{real_mntpoint} || common::usingRamdisk() } @fstab ]) or return; } $o->SUPER::ask_mntpoint_s($fstab); } -- cgit v1.2.1