summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-27 09:59:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-27 09:59:36 +0000
commit57fca3088390e3f61ebafb46aff0e3f865a97060 (patch)
treedc63d9ee2b7aef8a12b1966621f62e129475de00 /perl-install/diskdrake/interactive.pm
parent83b3fd4dd01147c7c83ba5f8251ea886e14cbaf7 (diff)
downloaddrakx-57fca3088390e3f61ebafb46aff0e3f865a97060.tar
drakx-57fca3088390e3f61ebafb46aff0e3f865a97060.tar.gz
drakx-57fca3088390e3f61ebafb46aff0e3f865a97060.tar.bz2
drakx-57fca3088390e3f61ebafb46aff0e3f865a97060.tar.xz
drakx-57fca3088390e3f61ebafb46aff0e3f865a97060.zip
revert handling --auto for removable, it is much better done in a separate function
(the goal of this --auto is not clear at all, and is better explicitly done)
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index dbb44961d..a037c4fe4 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -267,7 +267,7 @@ sub Done {
}
if (!$::isInstall) {
my $new = fs::fstab_to_string($all_hds);
- if ($new ne $all_hds->{current_fstab} && ($::auto || $in->ask_yesorno('', N("Do you want to save /etc/fstab modifications"), 1))) {
+ if ($new ne $all_hds->{current_fstab} && $in->ask_yesorno('', N("Do you want to save /etc/fstab modifications"), 1)) {
$all_hds->{current_fstab} = $new;
fs::write_fstab($all_hds);
}