summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-05 13:57:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-05 13:57:34 +0000
commit42fae59e6e482907ec6e12acdb7d9b9430d67991 (patch)
tree57b77ab579729add35a02272a78875c530201940 /perl-install
parent8f92840e9e50102c5aad4eaf5201afb632e4ec71 (diff)
downloaddrakx-backup-do-not-use-42fae59e6e482907ec6e12acdb7d9b9430d67991.tar
drakx-backup-do-not-use-42fae59e6e482907ec6e12acdb7d9b9430d67991.tar.gz
drakx-backup-do-not-use-42fae59e6e482907ec6e12acdb7d9b9430d67991.tar.bz2
drakx-backup-do-not-use-42fae59e6e482907ec6e12acdb7d9b9430d67991.tar.xz
drakx-backup-do-not-use-42fae59e6e482907ec6e12acdb7d9b9430d67991.zip
warn the user when leaving the summary with X non configured
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index d60db34d2..3d076c5a2 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -854,6 +854,7 @@ sub summary {
}
};
+ summary:
$o->ask_from_({
messages => N("Summary"),
cancel => '',
@@ -886,6 +887,12 @@ sub summary {
}
} grep { $_->{driver} =~ /(bttv|saa7134)/ } detect_devices::probeall()),
]);
+
+ if (!$o->{raw_X} && pkgs::packageByName($o->{packages}, 'XFree86')->flag_installed) {
+ $o->ask_yesorno('', _("You have not configured X. Are you sure you really want this?"))
+ or goto summary;
+ }
+
install_steps::configureTimezone($o); #- do not forget it.
}