From 8617c12236ef569f2be83f39b56909c31a579770 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Nov 2002 07:45:19 +0000 Subject: fix bad interaction between mcc & mousedrake. interactive already take care of it through my_gtk... --- perl-install/standalone/mousedrake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'perl-install/standalone/mousedrake') diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake index 4ac16adcb..a8a1d2feb 100755 --- a/perl-install/standalone/mousedrake +++ b/perl-install/standalone/mousedrake @@ -23,7 +23,6 @@ if (!$::noauto) { $mouse = $probed_mouse if !$mouse->{XMOUSETYPE} || !$probed_mouse->{unsafe}; } -$::isEmbedded and kill 'USR2', $::CCPID; if (!$mouse || !$::auto) { $mouse ||= mouse::fullname2mouse("serial|Generic 2 Button Mouse"); if ($::isEmbedded && $in->isa('interactive::gtk')) { @@ -39,7 +38,7 @@ if (!$mouse || !$::auto) { sub { join '|', map { translate($_) } split '\|', $_[0] }, [ mouse::fullnames ], $mouse->{type} . '|' . $mouse->{name}); - $name or $::isEmbedded ? do { kill('USR1', $::CCPID); goto begin } : $in->exit(0); + $in->exit(0); my $mouse_chosen = mouse::fullname2mouse($name); $mouse = $mouse_chosen if !($mouse->{type} eq $mouse_chosen->{type} && $mouse->{name} eq $mouse_chosen->{name}); @@ -61,5 +60,5 @@ if (!$mouse || !$::auto) { mouse::write_conf($in, $mouse, 1); system('service', 'gpm', 'restart') if -e '/var/lock/subsys/gpm'; -$::isEmbedded ? kill('USR1', $::CCPID) : $in->exit(0); +$in->exit(0); goto begin; -- cgit v1.2.1