summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/mousedrake
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-09 10:00:00 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-09 10:00:00 +0000
commit012e3e72df8606c8a323852a518c82b29dc0a21e (patch)
tree54589bbaa5c2bcb8e7f0313667281cb6164f4b37 /perl-install/standalone/mousedrake
parent8d7d9eeb4df1ed638a36631c5efb3d7da92b378c (diff)
downloaddrakx-012e3e72df8606c8a323852a518c82b29dc0a21e.tar
drakx-012e3e72df8606c8a323852a518c82b29dc0a21e.tar.gz
drakx-012e3e72df8606c8a323852a518c82b29dc0a21e.tar.bz2
drakx-012e3e72df8606c8a323852a518c82b29dc0a21e.tar.xz
drakx-012e3e72df8606c8a323852a518c82b29dc0a21e.zip
fixed mousedrake (with interactive.pm fixes applied).
Diffstat (limited to 'perl-install/standalone/mousedrake')
-rwxr-xr-xperl-install/standalone/mousedrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake
index 10e166c0d..3e5b2922f 100755
--- a/perl-install/standalone/mousedrake
+++ b/perl-install/standalone/mousedrake
@@ -31,7 +31,8 @@ if (!$mouse || !$::auto) {
my $name = $in->ask_from_treelistf('', _("Please, choose the type of your mouse."), '|',
sub { join '|', map { translate($_) } split '\|', $_[0] },
[ mouse::fullnames ],
- $mouse->{type} . '|' . $mouse->{name}) || goto begin;
+ $mouse->{type} . '|' . $mouse->{name});
+ $name or $::isEmbedded ? kill(USR1, $::CCPID) : $in->exit(0);
$mouse = mouse::fullname2mouse($name);
if ($mouse->{device} eq "usbmouse") {