summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-08-30 16:16:19 +0000
committerFrancois Pons <fpons@mandriva.com>2001-08-30 16:16:19 +0000
commit2c3ba3788c6c6ba51a1b59795255e997cc240687 (patch)
treee9ad881071d6aa97fed551cdb025e0ec0b345e19 /perl-install/mouse.pm
parent4aee6136f674cffe3f4acf17d58f32c6bbe32768 (diff)
downloaddrakx-2c3ba3788c6c6ba51a1b59795255e997cc240687.tar
drakx-2c3ba3788c6c6ba51a1b59795255e997cc240687.tar.gz
drakx-2c3ba3788c6c6ba51a1b59795255e997cc240687.tar.bz2
drakx-2c3ba3788c6c6ba51a1b59795255e997cc240687.tar.xz
drakx-2c3ba3788c6c6ba51a1b59795255e997cc240687.zip
make sure to update all symlink according to any mouse (max 2) probed.
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 68f70b0ae..8ab4db5bd 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -199,6 +199,7 @@ sub write {
local $mouse->{WHEEL} = bool2yesno($mouse->{nbuttons} > 3);
setVarsInSh("$prefix/etc/sysconfig/mouse", $mouse, qw(MOUSETYPE XMOUSETYPE FULLNAME XEMU3 WHEEL device));
any::devfssymlinkf ($mouse->{device}, 'mouse', $prefix) or log::l("creating $prefix/dev/mouse symlink failed");
+ $mouse->{auxmouse} and any::devfssymlinkf ($mouse->{auxmouse}{device}, 'mouse1', $prefix) or log::l("creating $prefix/dev/mouse1 symlink failed");
if (arch() =~ /ppc/) {
my $s = join('',