summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-21 19:01:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-21 19:01:37 +0000
commit95f9995e3a8183f7221db4b79746e67b26247950 (patch)
tree3f3157d8b59f5406042650a035dbae87dbd60dcb
parentffea7a5c07e667d4640d0bc65974a1055259d060 (diff)
downloaddrakx-95f9995e3a8183f7221db4b79746e67b26247950.tar
drakx-95f9995e3a8183f7221db4b79746e67b26247950.tar.gz
drakx-95f9995e3a8183f7221db4b79746e67b26247950.tar.bz2
drakx-95f9995e3a8183f7221db4b79746e67b26247950.tar.xz
drakx-95f9995e3a8183f7221db4b79746e67b26247950.zip
replace "Next" button with "Reboot" at exitInstall step
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 20b497310..6b287867c 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1166,7 +1166,7 @@ Do you really want to quit now?"), 0);
$o->ask_from_no_check(
{
messages => formatAlaTeX(install_messages::install_completed()),
- cancel => '',
+ ok => N("Reboot"),
},
[
if_($::expert,
ouse}{device} =
\&mouse::serial_port2text,
[ mouse::serial_ports ]) if $mouse->{type} eq 'serial';
-mouse::write('', $mouse);
-modules::write_conf('') if $mouse->{device} eq "usbmouse" && !$::testing;
-
-my $f = "/etc/X11/XF86Config";
-my $g = "/etc/X11/XF86Config-4";
-
-my @zaxis = (
- $mouse->{nbuttons} > 3 ? [ "ZAxisMapping", "4 5" ] : (),
- $mouse->{nbuttons} > 5 ? [ "ZAxisMapping", "6 7" ] : (),
- $mouse->{nbuttons} < 3 ? ([ "Emulate3Buttons" ], [ "Emulate3Timeout", "50" ]) : ()
-);
-
-my $zaxis = join('', map { qq(\n $_->[0]) . ($_->[1] && qq( $_->[1])) } @zaxis);
-substInFile {
- if (/^Section\s+"Pointer"/ .. /^EndSection/) {
- $_ = '' if /(ZAxisMapping|Emulate3)/; #- remove existing line
- s|^(\s*Protocol\s+).*|$1"$mouse->{XMOUSETYPE}"|;
- s|^(\s*Device\s+).*|$1"/dev/mouse"$zaxis|;
- }
-} $f if -e $f && !$::testing;
-
-$zaxis = join('', map { qq(\n Option "$_->[0]") . ($_->[1] && qq( "$_->[1]")) } @zaxis);
-substInFile {
- if (/Identifier\s+"Mouse1"/ .. /^EndSection/) {
- $_ = '' if /(ZAxisMapping|Emulate3)/; #- remove existing line
- s|^(\s*Option\s+"Protocol"\s+).*|$1"$mouse->{XMOUSETYPE}"|;
- s|^(\s*Option\s+"Device"\s+).*|$1"/dev/mouse"$zaxis|;
- }
-} $g if -e $g && !$::testing;
+dumpValue(\$mouse);
+mouse::write_conf($mouse);
$in->exit(0);